diff options
author | Jeremy Allison <jra@samba.org> | 2000-05-03 02:27:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-05-03 02:27:41 +0000 |
commit | 74d42644e6e52808037975e909aa56c850838b76 (patch) | |
tree | 30e0e2bdb4b2058aa23dca00103bed9ae1ec104d /source/utils/locktest.c | |
parent | 65399ae1f058886b8779a01fb35fe3080cc3c145 (diff) | |
download | samba-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