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/modules | |
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/modules')
-rw-r--r-- | source3/modules/onefs_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/onefs_open.c b/source3/modules/onefs_open.c index b0c88c71bf..a1412ef3e8 100644 --- a/source3/modules/onefs_open.c +++ b/source3/modules/onefs_open.c @@ -544,7 +544,7 @@ NTSTATUS onefs_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)) { struct deferred_open_record *state = (struct deferred_open_record *)ptr; |