summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/blocking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index a06f44f9a8..fb93f4c6e8 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -361,7 +361,7 @@ static void reply_lockingX_error(struct blocking_lock_record *blr, NTSTATUS stat
* request would never have been queued. JRA.
*/
- do_unlock(smbd_messaging_context(),
+ do_unlock(fsp->conn->sconn->msg_ctx,
fsp,
smblctx,
count,