summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 11:49:02 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:52 +0200
commit7223799b6eb37d7d9e686ec75454ece7f02a9e17 (patch)
tree4844f95a0ce6d1bbd7fca05871fdcfb84312881b /source3/smbd
parent5005ad2e78ccd5f28d943f84016d4787e3bd61c2 (diff)
downloadsamba-7223799b6eb37d7d9e686ec75454ece7f02a9e17.tar.gz
samba-7223799b6eb37d7d9e686ec75454ece7f02a9e17.tar.bz2
samba-7223799b6eb37d7d9e686ec75454ece7f02a9e17.zip
s3: Remove smbd_server_conn from smbd_do_locking
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 2cb92e5267..8ff50b4bee 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -7225,7 +7225,7 @@ NTSTATUS smbd_do_locking(struct smb_request *req,
*
* Replacement for do_lock_spin(). JRA. */
- if (!smbd_server_conn->using_smb2 &&
+ if (!req->sconn->using_smb2 &&
br_lck && lp_blocking_locks(SNUM(conn)) &&
lp_lock_spin_time() && !blocking_lock &&
NT_STATUS_EQUAL((status),