[cache_restore] Set the clean shutdown flag before the final commit
This commit is contained in:
parent
471abe52b9
commit
dcf4b0a99c
@ -132,7 +132,9 @@ metadata::commit_discard_bits()
|
|||||||
void
|
void
|
||||||
metadata::commit_superblock()
|
metadata::commit_superblock()
|
||||||
{
|
{
|
||||||
|
sb_.flags.set_flag(superblock_flags::CLEAN_SHUTDOWN);
|
||||||
write_superblock(tm_->get_bm(), sb_);
|
write_superblock(tm_->get_bm(), sb_);
|
||||||
|
sb_.flags.clear_flag(superblock_flags::CLEAN_SHUTDOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user