summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_glue.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-04-22 23:52:19 -0700
committerJeremy Allison <jra@samba.org>2010-04-22 23:52:19 -0700
commit8f67f873ace91964da066c421986e260aceba75b (patch)
tree21776965085b9926a28ff5ed41ef147176668386 /source3/smbd/smb2_glue.c
parent9cd712d1bc1ac5140597e86b5c634d2c820d86de (diff)
downloadsamba-8f67f873ace91964da066c421986e260aceba75b.tar.gz
samba-8f67f873ace91964da066c421986e260aceba75b.tar.xz
samba-8f67f873ace91964da066c421986e260aceba75b.zip
Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.
Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy.
Diffstat (limited to 'source3/smbd/smb2_glue.c')
-rw-r--r--source3/smbd/smb2_glue.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/source3/smbd/smb2_glue.c b/source3/smbd/smb2_glue.c
index 26107df389..d6252ef349 100644
--- a/source3/smbd/smb2_glue.c
+++ b/source3/smbd/smb2_glue.c
@@ -52,35 +52,3 @@ struct smb_request *smbd_smb2_fake_smb_request(struct smbd_smb2_request *req)
return smbreq;
}
-
-/* Dummy functions for the SMB1 -> SMB2 deferred open message
- * hooks. */
-
-void remove_deferred_open_message_smb2(uint64_t mid)
-{
-}
-
-void schedule_deferred_open_message_smb2(uint64_t mid)
-{
-}
-
-bool open_was_deferred_smb2(uint64_t mid)
-{
- return false;
-}
-
-bool get_deferred_open_message_state_smb2(uint64_t mid,
- struct timeval *p_request_time,
- void **pp_state)
-{
- return false;
-}
-
-bool push_deferred_open_message_smb2(struct smb_request *req,
- struct timeval request_time,
- struct timeval timeout,
- char *private_data,
- size_t priv_len)
-{
- return false;
-}