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 1ab8776247 tdb: remove num_locks
This was redundant before this patch series: it mirrored num_lockrecs
exactly.  It still does.

Also, skip useless branch when locks == 1: unconditional assignment is
cheaper anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-02-17 15:01:07 +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: remove num_locks 2010-02-17 15:01:07 +10:30
open.c tdb: use tdb_nest_lock() for active lock. 2010-02-24 10:44:40 +10:30
tdb_private.h tdb: remove num_locks 2010-02-17 15:01:07 +10:30
tdb.c tdb: use tdb_nest_lock() for seqnum lock. 2010-02-17 12:40:57 +10:30
transaction.c tdb: use tdb_nest_lock() for open lock. 2010-02-22 13:58:07 +10:30
traverse.c tdb: cleanup: split brlock and brunlock methods. 2010-02-17 12:17:19 +10:30