summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
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 1d5b8613fb..ea271784a3 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -859,7 +859,7 @@ struct blocking_lock_record *blocking_lock_cancel_smb1(files_struct *fsp,
unsigned char locktype,
NTSTATUS err)
{
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = fsp->conn->sconn;
char msg[MSG_BLOCKING_LOCK_CANCEL_SIZE];
struct blocking_lock_record *blr;