summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/smb2/vfs_smb2.c2
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