mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
metadata: properly register LV_NOSCAN flag
Addendum to commit ce7489e
which introduced a new *internal* LV_NOSCAN
flag and so it needs to be marked that way properly otherwise it
ends up unrecognized and improperly handled during metadata export.
This commit is contained in:
parent
304159c99a
commit
029b8fbe76
@ -61,6 +61,7 @@ static const struct flag _lv_flags[] = {
|
|||||||
{LV_REBUILD, "REBUILD", STATUS_FLAG},
|
{LV_REBUILD, "REBUILD", STATUS_FLAG},
|
||||||
{LV_WRITEMOSTLY, "WRITEMOSTLY", STATUS_FLAG},
|
{LV_WRITEMOSTLY, "WRITEMOSTLY", STATUS_FLAG},
|
||||||
{LV_ACTIVATION_SKIP, "ACTIVATION_SKIP", COMPATIBLE_FLAG},
|
{LV_ACTIVATION_SKIP, "ACTIVATION_SKIP", COMPATIBLE_FLAG},
|
||||||
|
{LV_NOSCAN, NULL, 0},
|
||||||
{POOL_METADATA_SPARE, NULL, 0},
|
{POOL_METADATA_SPARE, NULL, 0},
|
||||||
{RAID, NULL, 0},
|
{RAID, NULL, 0},
|
||||||
{RAID_META, NULL, 0},
|
{RAID_META, NULL, 0},
|
||||||
|
Loading…
Reference in New Issue
Block a user