diff options
author | Jeremy Allison <jra@samba.org> | 2010-04-22 23:52:19 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-04-22 23:52:19 -0700 |
commit | 8f67f873ace91964da066c421986e260aceba75b (patch) | |
tree | 21776965085b9926a28ff5ed41ef147176668386 /source3/smbd/open.c | |
parent | 9cd712d1bc1ac5140597e86b5c634d2c820d86de (diff) | |
download | samba-8f67f873ace91964da066c421986e260aceba75b.tar.gz samba-8f67f873ace91964da066c421986e260aceba75b.tar.bz2 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/open.c')
-rw-r--r-- | source3/smbd/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 0e45c1d4b8..e0c24dab8d 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1546,7 +1546,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, if (req) { void *ptr; - if (get_deferred_open_message_state(req->mid, + if (get_deferred_open_message_state(req, &request_time, &ptr)) { |