summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 19:50:25 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:29 +0200
commit3df821acc462626efba86acd7c6a278473d4f0c2 (patch)
tree3692d9944022f51313b91e0dfdef9c80a8658840
parent411412dc65961acf8132ae03a3120c24e8602ef0 (diff)
downloadsamba-3df821acc462626efba86acd7c6a278473d4f0c2.tar.gz
samba-3df821acc462626efba86acd7c6a278473d4f0c2.tar.bz2
samba-3df821acc462626efba86acd7c6a278473d4f0c2.zip
s3: Remove smbd_messaging_context() from remove_pending_lock()
-rw-r--r--source3/smbd/smb2_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c
index 7a6bace5c7..bff387c57b 100644
--- a/source3/smbd/smb2_lock.c
+++ b/source3/smbd/smb2_lock.c
@@ -703,7 +703,7 @@ static void remove_pending_lock(struct smbd_smb2_lock_state *state,
for(i = blr->lock_num - 1; i >= 0; i--) {
struct smbd_lock_element *e = &state->locks[i];
- do_unlock(smbd_messaging_context(),
+ do_unlock(blr->fsp->conn->sconn->msg_ctx,
blr->fsp,
e->smblctx,
e->count,