From 3b62e250c066f44d0ab08a7db037b6b4f74a914b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 23 Oct 2009 13:51:03 +0200 Subject: tdb: rename 'struct list_struct' into 'struct tdb_record' metze --- lib/tdb/common/check.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/tdb/common/check.c') diff --git a/lib/tdb/common/check.c b/lib/tdb/common/check.c index 94240bbed1..4924734fdd 100644 --- a/lib/tdb/common/check.c +++ b/lib/tdb/common/check.c @@ -63,7 +63,7 @@ corrupt: /* Generic record header check. */ static bool tdb_check_record(struct tdb_context *tdb, tdb_off_t off, - const struct list_struct *rec) + const struct tdb_record *rec) { tdb_off_t tailer; @@ -228,7 +228,7 @@ static void record_offset(unsigned char bits[], tdb_off_t off) /* Check that an in-use record is valid. */ static bool tdb_check_used_record(struct tdb_context *tdb, tdb_off_t off, - const struct list_struct *rec, + const struct tdb_record *rec, unsigned char **hashes, int (*check)(TDB_DATA, TDB_DATA, void *), void *private_data) @@ -287,7 +287,7 @@ fail_put_key: /* Check that an unused record is valid. */ static bool tdb_check_free_record(struct tdb_context *tdb, tdb_off_t off, - const struct list_struct *rec, + const struct tdb_record *rec, unsigned char **hashes) { if (!tdb_check_record(tdb, off, rec)) @@ -308,7 +308,7 @@ int tdb_check(struct tdb_context *tdb, unsigned int h; unsigned char **hashes; tdb_off_t off, recovery_start; - struct list_struct rec; + struct tdb_record rec; bool found_recovery = false; if (tdb_lockall(tdb) == -1) -- cgit