summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-06 22:14:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:26 -0500
commitcda247e9d44f42115929411de3f810ae859134a0 (patch)
tree2e116a78e3cb6bcb26237faf9f428f6f1fa63d8d /source3/locking
parentf76fe23e11110422e98f7c3660dca81dd509e979 (diff)
downloadsamba-cda247e9d44f42115929411de3f810ae859134a0.tar.gz
samba-cda247e9d44f42115929411de3f810ae859134a0.tar.bz2
samba-cda247e9d44f42115929411de3f810ae859134a0.zip
r21726: Fix stupid cut-n-paste typo. Thanks to volker for
being on the ball..... :-). Jeremy. (This used to be commit 84ed7bcbe6dc14b18a7e913b153c82da1856a835)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c2
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;
}