diff options
author | Jeremy Allison <jra@samba.org> | 2001-10-16 22:10:23 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-10-16 22:10:23 +0000 |
commit | d96f052603383d99fecfab41291b3957529f4f6c (patch) | |
tree | 4db84104cc834b36be25ca5ff63502f7ae873b4a /source3/rpc_parse | |
parent | 5837031ee272f8ef02d3e4c11600c42f5cea9ab7 (diff) | |
download | samba-d96f052603383d99fecfab41291b3957529f4f6c.tar.gz samba-d96f052603383d99fecfab41291b3957529f4f6c.tar.bz2 samba-d96f052603383d99fecfab41291b3957529f4f6c.zip |
Don't core dump when using spinlocks on a read-only tdb. Unfortunately this
means that a read-write opener and a read-only opener are using different
locking mechanisms - this needs to be addressed, but it's hard as the
read-write opener using the spinlocks is usually first, so there's no
way to force them to change down to the fcntl method.
Read only access is less important anyway and can never corrupt the
tdb anyway, so errors in read-only record reads are more tolerable.
Jeremy
(This used to be commit 21f776df5932e024a0d1fef9097377d35b5cf511)
Diffstat (limited to 'source3/rpc_parse')
0 files changed, 0 insertions, 0 deletions