summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:28:53 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:26 +0200
commit298da9a0a4f1c6374bdd99fd0ada9293a9eddb52 (patch)
treee1df9c61ea9460ae4c5e2a8aeb25c125f4ea0f20 /source3/smbd
parentba3b101c45f67154fe11d27d6c432ddf9a65a0d1 (diff)
downloadsamba-298da9a0a4f1c6374bdd99fd0ada9293a9eddb52.tar.gz
samba-298da9a0a4f1c6374bdd99fd0ada9293a9eddb52.tar.bz2
samba-298da9a0a4f1c6374bdd99fd0ada9293a9eddb52.zip
s3: Remove smbd_messaging_context() from reply_lockread()
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 19c9870ac0..ad46c66b02 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3231,7 +3231,7 @@ void reply_lockread(struct smb_request *req)
* Note that the requested lock size is unaffected by max_recv.
*/
- br_lck = do_lock(smbd_messaging_context(),
+ br_lck = do_lock(req->sconn->msg_ctx,
fsp,
(uint64_t)req->smbpid,
(uint64_t)numtoread,