diff options
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index ad46c66b02a..acd983bc8f9 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, |