[cache_restore] v2 dirty bitset root wasn't being written to superblock.
Resulting in corrupt restored data.
This commit is contained in:
1 parent
cfddb495fb
commit
e3b7d82569
1 file changed
+4
@@ -128,6 +128,10 @@ void
|
||||
metadata::commit_mappings()
|
||||
{
|
||||
sb_.mapping_root = mappings_->get_root();
|
||||
if (sb_.version >= 2) {
|
||||
dirty_bits_->flush();
|
||||
sb_.dirty_root = dirty_bits_->get_root();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user