summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 288fde5960..3010c74eca 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4903,7 +4903,7 @@ void reply_unlock(struct smb_request *req)
count = (uint64_t)IVAL(req->vwv+1, 0);
offset = (uint64_t)IVAL(req->vwv+3, 0);
- status = do_unlock(smbd_messaging_context(),
+ status = do_unlock(req->sconn->msg_ctx,
fsp,
(uint64_t)req->smbpid,
count,