diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-09-13 19:55:26 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-09-13 19:55:26 +0930 |
commit | 9e0deff904877068d19b41e965732f145c2554b9 (patch) | |
tree | 243f4f93e0ba60d7998490f7b17a32f78c095c3a /lib/tdb/common/freelist.c | |
parent | fe958c009be224be91e9ed4cdafe5330735d0a38 (diff) | |
download | samba-9e0deff904877068d19b41e965732f145c2554b9.tar.gz samba-9e0deff904877068d19b41e965732f145c2554b9.tar.bz2 samba-9e0deff904877068d19b41e965732f145c2554b9.zip |
tdb: make check more robust against recovery failures.
We can end up with dead areas when we die during transaction commit;
tdb_check() fails on such a (valid) database.
This is particularly noticable now we no longer truncate on recovery;
if the recovery area was at the end of the file we used to remove it
that way.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb/common/freelist.c')
0 files changed, 0 insertions, 0 deletions