mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s4:ntvfs/smb2: ifdef out unused code
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
3e9cc501ab
commit
fcc4a15817
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user