tdb: suppress record write locks when allrecord lock is taken.
[ira/wip.git] / lib / tdb / common / freelistcheck.c
index 972b2a41c49e32f8d7ff479490702973f43ecc95..8d1ebabe04e85c9c3650797bde2a83f187b9ce2b 100644 (file)
@@ -46,7 +46,7 @@ static int seen_insert(struct tdb_context *mem_tdb, tdb_off_t rec_ptr)
 int tdb_validate_freelist(struct tdb_context *tdb, int *pnum_entries)
 {
        struct tdb_context *mem_tdb = NULL;
-       struct list_struct rec;
+       struct tdb_record rec;
        tdb_off_t rec_ptr, last_ptr;
        int ret = -1;