git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21d69dc
)
r17276: Don't change the POSIX lock ref count if posix locking = no.
author
Jeremy Allison
<jra@samba.org>
Thu, 27 Jul 2006 15:23:46 +0000
(15:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:38:23 +0000
(11:38 -0500)
Jeremy.
source/locking/brlock.c
patch
|
blob
|
history
diff --git
a/source/locking/brlock.c
b/source/locking/brlock.c
index 07e4b4c16b763817b36ff08d2aa8232e75bfbc8e..5ce8a3730b23ddbcf4e3b29388e324c8f0fdeec7 100644
(file)
--- a/
source/locking/brlock.c
+++ b/
source/locking/brlock.c
@@
-1326,8
+1326,8
@@
void brl_close_fnum(struct byte_range_lock *br_lck)
}
}
- if
(
num_deleted_windows_locks) {
- /* Reduce the Windows lock reference count on this dev/ino pair. */
+ if
(lp_posix_locking(fsp->conn->cnum) &&
num_deleted_windows_locks) {
+ /* Reduce the Windows lock
POSIX
reference count on this dev/ino pair. */
reduce_windows_lock_ref_count(fsp, num_deleted_windows_locks);
}
}