summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/blocking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index c63ea4c962..3ec288f689 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -754,7 +754,7 @@ void process_blocking_lock_queue(struct smbd_server_connection *sconn)
if (br_lck) {
brl_lock_cancel(br_lck,
blr->smblctx,
- procid_self(),
+ sconn_server_id(sconn),
blr->offset,
blr->count,
blr->lock_flav,
@@ -791,7 +791,7 @@ void process_blocking_lock_queue(struct smbd_server_connection *sconn)
brl_lock_cancel(br_lck,
blr->smblctx,
- procid_self(),
+ sconn_server_id(sconn),
blr->offset,
blr->count,
blr->lock_flav,