From cac57328a6077dc428396402036636095f139569 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 29 Dec 2010 12:50:47 +1030 Subject: tdb: tdb_summary() support. Autobuild-User: Rusty Russell Autobuild-Date: Wed Dec 29 10:12:05 CET 2010 on sn-devel-104 --- lib/tdb/common/check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/tdb/common/check.c') diff --git a/lib/tdb/common/check.c b/lib/tdb/common/check.c index bbb566c6f7..3387fbd098 100644 --- a/lib/tdb/common/check.c +++ b/lib/tdb/common/check.c @@ -308,7 +308,7 @@ static bool tdb_check_free_record(struct tdb_context *tdb, } /* Slow, but should be very rare. */ -static size_t dead_space(struct tdb_context *tdb, tdb_off_t off) +size_t tdb_dead_space(struct tdb_context *tdb, tdb_off_t off) { size_t len; @@ -406,7 +406,7 @@ _PUBLIC_ int tdb_check(struct tdb_context *tdb, found_recovery = true; break; } - dead = dead_space(tdb, off); + dead = tdb_dead_space(tdb, off); if (dead < sizeof(rec)) goto corrupt; -- cgit