[lvm-devel] [PATCH] Introduce MDA_IGNORABLE metadata status flag to differentiate ignorable mdas from other mdas
Peter Rajnoha
prajnoha at redhat.com
Wed Oct 6 12:54:14 UTC 2010
Well, there's one more place where we need to set the flag.
(I need to look more thoroughly where else it's needed, hmm...)
Peter
---
lib/format_text/text_label.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/format_text/text_label.c b/lib/format_text/text_label.c
index e459cde..32934e7 100644
--- a/lib/format_text/text_label.c
+++ b/lib/format_text/text_label.c
@@ -216,7 +216,7 @@ int add_mda(const struct format_type *fmt, struct dm_pool *mem, struct dm_list *
mdal->ops = mda_lists->raw_ops;
mdal->metadata_locn = mdac;
- mdal->status = 0;
+ mdal->status = MDA_IGNORABLE;
mdac->area.dev = dev;
mdac->area.start = start;
More information about the lvm-devel
mailing list