summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-06-12 14:18:55 +0200
committerVolker Lendecke <vl@samba.org>2010-06-12 15:42:56 +0200
commit91bd52da1a96f7be60df93dfb1a629424b517f0c (patch)
treed82a9751d265ba498f085393043580f689189274 /source3/smbd
parent034e616448d54a515ffd8a0b87baed09977854e2 (diff)
downloadsamba-91bd52da1a96f7be60df93dfb1a629424b517f0c.tar.gz
samba-91bd52da1a96f7be60df93dfb1a629424b517f0c.tar.bz2
samba-91bd52da1a96f7be60df93dfb1a629424b517f0c.zip
s3: Remove smbd_server_conn from cancel_pending_lock_requests_by_fid
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/blocking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index d0c2b298a9..b7228467e2 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -577,7 +577,7 @@ void cancel_pending_lock_requests_by_fid(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 blocking_lock_record *blr, *blr_cancelled, *next = NULL;
if (sconn->using_smb2) {