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/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 71962ae93c..7b279f6367 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6812,7 +6812,7 @@ int srv_set_message(char *buf, void remove_deferred_open_message_smb(uint64_t mid); void schedule_deferred_open_message_smb(uint64_t mid); bool open_was_deferred(uint64_t mid); -bool get_deferred_open_message_state(uint64_t mid, +bool get_deferred_open_message_state(struct smb_request *smbreq, struct timeval *p_request_time, void **pp_state); bool push_deferred_open_message_smb(struct smb_request *req, -- cgit