summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-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 ad46c66b02..acd983bc8f 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4060,7 +4060,7 @@ void reply_writeunlock(struct smb_request *req)
}
if (numtowrite && !fsp->print_file) {
- status = do_unlock(smbd_messaging_context(),
+ status = do_unlock(req->sconn->msg_ctx,
fsp,
(uint64_t)req->smbpid,
(uint64_t)numtowrite,