tdb: add utility function check_merge_with_left_record()
authorMichael Adam <obnox@samba.org>
Wed, 11 Jun 2014 10:00:48 +0000 (12:00 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 26 Jun 2014 08:00:11 +0000 (10:00 +0200)
commit117807cd2dbb7cf2276b84e2b20f858cd6ec30e9
treed97e95038d348b675df7e5bfd2276962aa1b0d88
parent66f3330be82a382898bb22c3f9563cc873c75488
tdb: add utility function check_merge_with_left_record()

Check whether the record left of a given freelist record is
also a freelist record, and if so, merge the two records.

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