From: Volker Lendecke Date: Wed, 19 Jun 2019 13:49:46 +0000 (+0200) Subject: smbd: Don't call cancel_pending_lock_requests_by_fid on close X-Git-Tag: ldb-2.0.5~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d60a35bd75a0c427a593defe8fd3a7850f45ee5f;p=thirdparty%2Fsamba.git smbd: Don't call cancel_pending_lock_requests_by_fid on close We don't use that queue anymore Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 17ecfd08fff..41b848a3f24 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -432,7 +432,6 @@ void locking_close_file(struct messaging_context *msg_ctx, br_lck = brl_get_locks(talloc_tos(),fsp); if (br_lck) { - cancel_pending_lock_requests_by_fid(fsp, br_lck, close_type); brl_close_fnum(msg_ctx, br_lck); TALLOC_FREE(br_lck); }