1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/tdb/common
Rusty Russell fba42f1fb4 tdb: cleanup: tdb_have_extra_locks() helper
In many places we check whether locks are held: add a helper to do this.

The _tdb_lockall() case has already checked for the allrecord lock, so
the extra work done by tdb_have_extra_locks() is merely redundant.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-02-17 12:34:26 +10:30
..
check.c tdb: give a name to the invalid recovery area constant (0) 2010-02-10 16:56:13 +10:30
dump.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
error.c Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
freelist.c Spelling fixes for tdb. 2010-02-22 21:45:31 +01:00
freelistcheck.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
io.c tdb: cleanup: split brlock and brunlock methods. 2010-02-17 12:17:19 +10:30
lock.c tdb: cleanup: tdb_have_extra_locks() helper 2010-02-17 12:34:26 +10:30
open.c tdb: cleanup: tdb_have_extra_locks() helper 2010-02-17 12:34:26 +10:30
tdb_private.h tdb: cleanup: tdb_have_extra_locks() helper 2010-02-17 12:34:26 +10:30
tdb.c tdb: cleanup: rename global_lock to allrecord_lock. 2010-02-17 12:19:47 +10:30
transaction.c tdb: cleanup: tdb_have_extra_locks() helper 2010-02-17 12:34:26 +10:30
traverse.c tdb: cleanup: split brlock and brunlock methods. 2010-02-17 12:17:19 +10:30