summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 19:46:15 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:29 +0200
commitc63f75f17c51d1e6ddb4411bc4c0ad3c3e7edb95 (patch)
tree8e6ee316a30fcb5bae913e3781b6009d5799cb12 /source3/smbd
parent8ea271bb2e9e94093c1849a5840bb3a2a38f728e (diff)
downloadsamba-c63f75f17c51d1e6ddb4411bc4c0ad3c3e7edb95.tar.gz
samba-c63f75f17c51d1e6ddb4411bc4c0ad3c3e7edb95.tar.bz2
samba-c63f75f17c51d1e6ddb4411bc4c0ad3c3e7edb95.zip
s3: Remove smbd_messaging_context() from smb_set_posix_lock()
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 47435419dd..b81eb837be 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -6420,7 +6420,7 @@ static NTSTATUS smb_set_posix_lock(connection_struct *conn,
(double)offset ));
if (lock_type == UNLOCK_LOCK) {
- status = do_unlock(smbd_messaging_context(),
+ status = do_unlock(req->sconn->msg_ctx,
fsp,
smblctx,
count,
@@ -6429,7 +6429,7 @@ static NTSTATUS smb_set_posix_lock(connection_struct *conn,
} else {
uint64_t block_smblctx;
- struct byte_range_lock *br_lck = do_lock(smbd_messaging_context(),
+ struct byte_range_lock *br_lck = do_lock(req->sconn->msg_ctx,
fsp,
smblctx,
count,