1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/lib/tdb2
Rusty Russell 92c022f043 tdb2: allow readonly changes even while holding locks.
This happens in SAMBA with the TDB_VERSION1, presumably due to a
read-only traverse nested inside a normal traverse (since it doesn't
occur without TDB_VERSION1).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 24e5ddb143fb5e79112649472258f5da67cc7362)

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Tue Sep 20 09:35:10 CEST 2011 on sn-devel-104
2011-09-20 09:35:10 +02:00
..
doc tdb2: enhance tdb1 porting document. 2011-09-14 08:13:27 +09:30
test tdb2: make tests work in parallel. 2011-09-14 08:13:27 +09:30
tools tdb2: Hand error code to logging function. 2011-09-14 07:12:13 +09:30
_info tdb2: add lib/tdb2 (from CCAN init-1161-g661d41f) 2011-06-20 11:18:35 +02:00
check.c tdb2: fix prototypes which return enum TDB_ERROR. 2011-09-14 08:13:28 +09:30
free.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
hash.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
io.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
LICENSE tdb2: add lib/tdb2 (from CCAN init-1161-g661d41f) 2011-06-20 11:18:35 +02:00
lock.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
open.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
private.h tdb2: fix prototypes which return enum TDB_ERROR. 2011-09-14 08:13:28 +09:30
pytdb.c tdb2: fix return handling in pytdb wrapper. 2011-09-14 08:13:27 +09:30
summary.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
tdb1_check.c tdb2: log allocation failures in tdb1 backend. 2011-09-14 08:13:26 +09:30
tdb1_freelist.c tdb2: add stats to tdb1 backend. 2011-09-14 08:10:13 +09:30
tdb1_hash.c tdb2: Make TDB1 use the same tdb_hash() wrapper as TDB2 2011-09-14 07:41:13 +09:30
tdb1_io.c tdb2: log allocation failures in tdb1 backend. 2011-09-14 08:13:26 +09:30
tdb1_lock.c tdb2: fix bogus error from tdb_unlockall() after fork in tdb1 backend. 2011-09-14 08:13:13 +09:30
tdb1_open.c tdb2: log allocation failures in tdb1 backend. 2011-09-14 08:13:26 +09:30
tdb1_private.h tdb2: catch errors in tdb1_needs_recovery() 2011-09-14 08:07:13 +09:30
tdb1_summary.c tdb2: unify tdb1_chainlock et al. into tdb_chainlock 2011-09-14 07:56:13 +09:30
tdb1_tdb.c tdb2: don't continue if tdb1_find fails. 2011-09-14 08:13:26 +09:30
tdb1_transaction.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
tdb1_traverse.c tdb2: make tdb1_null static. 2011-09-14 08:04:13 +09:30
tdb2.h tdb2: add tdb_attribute_tdb1_max_dead 2011-09-14 08:06:13 +09:30
tdb.c tdb2: allow readonly changes even while holding locks. 2011-09-20 09:35:10 +02:00
TODO tdb2: tie it into build process if --enable-tdb2-breaks-compat 2011-06-20 11:18:36 +02:00
transaction.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
traverse.c tdb2: add error conversion functions. 2011-09-14 08:13:27 +09:30
wscript tdb2: add tdb1 code to build. 2011-09-14 07:29:13 +09:30