summaryrefslogtreecommitdiffstats
path: root/source/utils/locktest.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-03 02:27:41 +0000
committerJeremy Allison <jra@samba.org>2000-05-03 02:27:41 +0000
commit74d42644e6e52808037975e909aa56c850838b76 (patch)
tree30e0e2bdb4b2058aa23dca00103bed9ae1ec104d /source/utils/locktest.c
parent65399ae1f058886b8779a01fb35fe3080cc3c145 (diff)
downloadsamba-74d42644e6e52808037975e909aa56c850838b76.tar.gz
samba-74d42644e6e52808037975e909aa56c850838b76.tar.xz
samba-74d42644e6e52808037975e909aa56c850838b76.zip
Fix for stacking locks in brlock and POSIX. Windows only allows a read lock
to overlay a write lock on the same fnum. When overlaying read locks onto a write lock, the number of locks is counted, and the first unlock removes the write lock and downgrades this to a read lock. Do the same when mapping to POSIX. Jeremy.
Diffstat (limited to 'source/utils/locktest.c')
0 files changed, 0 insertions, 0 deletions