tdb: use tdb_freelist_merge_adjacent in tdb_freelist_size()
authorMichael Adam <obnox@samba.org>
Wed, 11 Jun 2014 15:26:51 +0000 (17:26 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 26 Jun 2014 08:00:11 +0000 (10:00 +0200)
commitd1bfd46edabea064099369375ad6124250508355
treef0f403f688faa1231cba29922de56a71d6f4f578
parent07fd97bb610225ce0949723a6433b2726d5d4847
tdb: use tdb_freelist_merge_adjacent in tdb_freelist_size()

So that we automatically defragment the free list when freelist_size is called
(unless the database is read only).

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>