summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 18:09:59 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:25 +0200
commitfaef081e967f657fb7043de683131f230f5e22c4 (patch)
tree43e283e29894022056eae9da777c0cee6e08fd1d
parentc89b55b5736db5a78ab5949c762afd281e707256 (diff)
downloadsamba-faef081e967f657fb7043de683131f230f5e22c4.tar.gz
samba-faef081e967f657fb7043de683131f230f5e22c4.tar.bz2
samba-faef081e967f657fb7043de683131f230f5e22c4.zip
s3: Remove procid_self() from push_blocking_lock_request_smb2()
-rw-r--r--source3/smbd/smb2_lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c
index 51cb5c6345..bd0dd21ad0 100644
--- a/source3/smbd/smb2_lock.c
+++ b/source3/smbd/smb2_lock.c
@@ -635,10 +635,10 @@ bool push_blocking_lock_request_smb2( struct byte_range_lock *br_lck,
blr->blr_private = NULL;
/* Add a pending lock record for this. */
- status = brl_lock(smbd_messaging_context(),
+ status = brl_lock(sconn->msg_ctx,
br_lck,
smblctx,
- procid_self(),
+ sconn_server_id(sconn),
offset,
count,
lock_type == READ_LOCK ? PENDING_READ_LOCK : PENDING_WRITE_LOCK,