[thin] Clear superblock flags in restored metadata
The needs_check flag is unnecessary for a restored metadata since it is assumed clean and has no errors
This commit is contained in:
parent
01aac6c1c1
commit
c32517f827
@ -57,7 +57,7 @@ namespace {
|
||||
memcpy(&sb.uuid_, uuid.c_str(), std::min(sizeof(sb.uuid_), uuid.length()));
|
||||
sb.time_ = time;
|
||||
sb.trans_id_ = trans_id;
|
||||
sb.flags_ = flags ? *flags : 0;
|
||||
sb.flags_ = 0;
|
||||
sb.version_ = version ? *version : 1;
|
||||
sb.data_block_size_ = data_block_size;
|
||||
sb.metadata_snap_ = metadata_snap ? *metadata_snap : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user