summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-06-19 15:49:46 +0200
committerJeremy Allison <jra@samba.org>2019-06-20 17:18:19 +0000
commitd60a35bd75a0c427a593defe8fd3a7850f45ee5f (patch)
treefb6539293978a7dda84aa665409535dd6053f249
parentb091c19cb2045e72b3a9a0b364f110ad88debe53 (diff)
downloadsamba-d60a35bd75a0c427a593defe8fd3a7850f45ee5f.tar.gz
smbd: Don't call cancel_pending_lock_requests_by_fid on close
We don't use that queue anymore Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/locking/locking.c1
1 files changed, 0 insertions, 1 deletions
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);
}