tdb: Don't purge records to a blocked freelist
authorVolker Lendecke <vl@samba.org>
Mon, 17 Mar 2014 05:47:11 +0000 (06:47 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 18 Mar 2014 12:42:10 +0000 (13:42 +0100)
commitd1ce0110f0a1666df4d1eb81e76631a90e9e5a73
tree3e83909fda632da33c01b6b9505383ed24ff5393
parent5f7b481349796cc0e90563ed01353809b403e429
tdb: Don't purge records to a blocked freelist

If the freelist is heavily contended, we should avoid accessing it

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tdb/common/tdb.c