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