tdb: add "freelist_size" sub-command to tdbtool
authorMichael Adam <obnox@samba.org>
Mon, 10 Feb 2014 06:39:31 +0000 (07:39 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 26 Jun 2014 08:00:11 +0000 (10:00 +0200)
commit6502df58391cc8d3477d1c5cce4a6aa027d439bd
tree6eef9cf77393452974f9347ea42213d917f856bb
parent56f9231c8ee3afb7ba7a1f56deee5181522ef5f4
tdb: add "freelist_size" sub-command to tdbtool

With the new code, this has the side effect of
merging adjacent records in the freelist if the
database is not read-only.

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