diff options
-rw-r--r-- | source3/smbd/reply.c | 2 |
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), |