summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 14:52:54 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:57 +0200
commit14974ba1f1e23c3f960cc1c0dd4a1dcf0e5c5601 (patch)
treea0261decbdaccdd5d151f824fa4c786c915f50a7 /source3
parent5dc2fe5fdccfcae24819f533371d8aea4280bce7 (diff)
downloadsamba-14974ba1f1e23c3f960cc1c0dd4a1dcf0e5c5601.tar.gz
samba-14974ba1f1e23c3f960cc1c0dd4a1dcf0e5c5601.tar.bz2
samba-14974ba1f1e23c3f960cc1c0dd4a1dcf0e5c5601.zip
s3: Remove smbd_server_conn from cancel_pending_lock_requests_by_fid_smb2
Diffstat (limited to 'source3')
-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 97b782b42e..94000b2df4 100644
--- a/source3/smbd/smb2_lock.c
+++ b/source3/smbd/smb2_lock.c
@@ -855,7 +855,7 @@ void cancel_pending_lock_requests_by_fid_smb2(files_struct *fsp,
struct byte_range_lock *br_lck,
enum file_close_type close_type)
{
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = fsp->conn->sconn;
struct smbd_smb2_request *smb2req, *nextreq;
for (smb2req = sconn->smb2.requests; smb2req; smb2req = nextreq) {