[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] master - metadata: properly register LV_NOSCAN flag



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=029b8fbe767e63f1d0a4f6c81a0095af46e9a000
Commit:        029b8fbe767e63f1d0a4f6c81a0095af46e9a000
Parent:        304159c99ab59c61543cac747e47a1ff59d2dbb6
Author:        Peter Rajnoha <prajnoha redhat com>
AuthorDate:    Thu Oct 10 13:24:32 2013 +0200
Committer:     Peter Rajnoha <prajnoha redhat com>
CommitterDate: Thu Oct 10 13:24:32 2013 +0200

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.
---
 lib/format_text/flags.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/format_text/flags.c b/lib/format_text/flags.c
index 5077576..6801d6c 100644
--- a/lib/format_text/flags.c
+++ b/lib/format_text/flags.c
@@ -61,6 +61,7 @@ static const struct flag _lv_flags[] = {
 	{LV_REBUILD, "REBUILD", STATUS_FLAG},
 	{LV_WRITEMOSTLY, "WRITEMOSTLY", STATUS_FLAG},
 	{LV_ACTIVATION_SKIP, "ACTIVATION_SKIP", COMPATIBLE_FLAG},
+	{LV_NOSCAN, NULL, 0},
 	{POOL_METADATA_SPARE, NULL, 0},
 	{RAID, NULL, 0},
 	{RAID_META, NULL, 0},


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]