From 8f67f873ace91964da066c421986e260aceba75b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 22 Apr 2010 23:52:19 -0700 Subject: 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. --- source3/modules/onefs_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules') 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; -- cgit