off = first_ftable(tdb);
for (i = 0; i < ftable; i++) {
if (TDB_OFF_IS_ERR(off)) {
- tdb->ecode = off;
break;
}
off = next_ftable(tdb, off);
ecode = add_free_record(tdb, off, end - off);
if (ecode != TDB_SUCCESS) {
- tdb->ecode = ecode;
return ecode;
}
return true;