1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

smbd: Do not wait unnecessarily

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Aug 16 18:46:36 CEST 2013 on sn-devel-104
This commit is contained in:
Volker Lendecke 2013-08-16 13:01:10 +00:00 committed by Michael Adam
parent 54d9ec7517
commit 91b0ff7e00

View File

@ -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: "