diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-02-27 09:29:36 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-11-25 07:25:45 +0100 |
commit | fcc4a158173c9cd1b07e33f49900f38fd85f1028 (patch) | |
tree | be8bb2ac074863eb6fb9e56721db987d6565923f /source4/ntvfs | |
parent | 3e9cc501ab07d6c636882c419918563a9823bf53 (diff) | |
download | samba-fcc4a158173c9cd1b07e33f49900f38fd85f1028.tar.gz |
s4:ntvfs/smb2: ifdef out unused code
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/smb2/vfs_smb2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/smb2/vfs_smb2.c b/source4/ntvfs/smb2/vfs_smb2.c index a3a670a101e..dbb76b3dc12 100644 --- a/source4/ntvfs/smb2/vfs_smb2.c +++ b/source4/ntvfs/smb2/vfs_smb2.c @@ -100,6 +100,7 @@ struct async_info { a handler for oplock break events from the server - these need to be passed along to the client */ +#if 0 static bool oplock_handler(struct smbcli_transport *transport, uint16_t tid, uint16_t fnum, uint8_t level, void *p_private) { struct cvfs_private *p = p_private; @@ -123,6 +124,7 @@ static bool oplock_handler(struct smbcli_transport *transport, uint16_t tid, uin if (!NT_STATUS_IS_OK(status)) return false; return true; } +#endif /* return a handle to the root of the share |