From 91b0ff7e0095e06f92a0af0362419fcb8ab9f6cb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 16 Aug 2013 13:01:10 +0000 Subject: smbd: Do not wait unnecessarily Signed-off-by: Volker Lendecke Reviewed-by: Michael Adam Autobuild-User(master): Michael Adam Autobuild-Date(master): Fri Aug 16 18:46:36 CEST 2013 on sn-devel-104 --- source3/smbd/oplock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index 5d9e42c116..e08a96350c 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -764,8 +764,8 @@ static void do_break_to_none(struct tevent_req *req) initial_break_processing(state->sconn, share_entry->id, share_entry->share_file_id); - wait_before_sending_break(); if (cur_fsp != NULL) { + wait_before_sending_break(); break_level2_to_none_async(cur_fsp); } else { DEBUG(3, ("release_level_2_oplocks_on_change: " -- cgit