summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:32:17 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:27 +0200
commitb01a41d05b06962cae748f0f8fbb7da87861db07 (patch)
treed60a2d6ca3422ca577caaeac91cbe3b9fdc28190
parent914b1c034fe9f52b4c858486730543bee8daaf88 (diff)
downloadsamba-b01a41d05b06962cae748f0f8fbb7da87861db07.tar.gz
samba-b01a41d05b06962cae748f0f8fbb7da87861db07.tar.bz2
samba-b01a41d05b06962cae748f0f8fbb7da87861db07.zip
s3: Remove smbd_messaging_context() from smbd_do_locking()
-rw-r--r--source3/smbd/reply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 7c80daf863..9b2c1e04da 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -7083,7 +7083,7 @@ NTSTATUS smbd_do_locking(struct smb_request *req,
return NT_STATUS_INVALID_PARAMETER;
}
- status = do_unlock(smbd_messaging_context(),
+ status = do_unlock(req->sconn->msg_ctx,
fsp,
e->smblctx,
e->count,
@@ -7177,7 +7177,7 @@ NTSTATUS smbd_do_locking(struct smb_request *req,
struct byte_range_lock *br_lck;
uint64_t block_smblctx;
- br_lck = do_lock(smbd_messaging_context(),
+ br_lck = do_lock(req->sconn->msg_ctx,
fsp,
e->smblctx,
e->count,
@@ -7267,7 +7267,7 @@ NTSTATUS smbd_do_locking(struct smb_request *req,
for(i--; i >= 0; i--) {
struct smbd_lock_element *e = &locks[i];
- do_unlock(smbd_messaging_context(),
+ do_unlock(req->sconn->msg_ctx,
fsp,
e->smblctx,
e->count,