summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 14:50:08 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:57 +0200
commit2592928f00b0d53da1b5df328f454b9c9415754a (patch)
tree7be685a588b03dcdaf9a1beb67c5dfc11f10da57
parent375ce3c96a695f447a09a8414735249e16cc7916 (diff)
downloadsamba-2592928f00b0d53da1b5df328f454b9c9415754a.tar.gz
samba-2592928f00b0d53da1b5df328f454b9c9415754a.tar.bz2
samba-2592928f00b0d53da1b5df328f454b9c9415754a.zip
s3: Remove smbd_server_conn from push_blocking_lock_request_smb2
-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 df5971566d..5cd8c5d5db 100644
--- a/source3/smbd/smb2_lock.c
+++ b/source3/smbd/smb2_lock.c
@@ -586,7 +586,7 @@ bool push_blocking_lock_request_smb2( struct byte_range_lock *br_lck,
uint64_t count,
uint64_t blocking_smblctx)
{
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = smb1req->sconn;
struct smbd_smb2_request *smb2req = smb1req->smb2req;
struct tevent_req *req = NULL;
struct smbd_smb2_lock_state *state = NULL;