diff options
-rw-r--r-- | source3/locking/locking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 304932cf32..37e6dbc4e5 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -325,7 +325,7 @@ NTSTATUS do_lock_cancel(files_struct *fsp, } SMB_ASSERT(fsp->current_lock_count > 0); - fsp->current_lock_count++; + fsp->current_lock_count--; return NT_STATUS_OK; } |