summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:40:40 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:28 +0200
commitdd48e0afe06087622483605f472f382f5448dd70 (patch)
treeb8f6d4b279adb047fbb185b26177149673fb4333 /source3/smbd
parentae75a90b188a34eff806797fdcfd14586135c285 (diff)
downloadsamba-dd48e0afe06087622483605f472f382f5448dd70.tar.gz
samba-dd48e0afe06087622483605f472f382f5448dd70.tar.bz2
samba-dd48e0afe06087622483605f472f382f5448dd70.zip
s3: Remove smbd_messaging_context() from process_trans2()
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/blocking.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index 03f63689ed..164a078fc9 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -512,7 +512,8 @@ static bool process_trans2(struct blocking_lock_record *blr)
{
char params[2];
NTSTATUS status;
- struct byte_range_lock *br_lck = do_lock(smbd_messaging_context(),
+ struct byte_range_lock *br_lck = do_lock(
+ blr->fsp->conn->sconn->msg_ctx,
blr->fsp,
blr->smblctx,
blr->count,