File 0001-mdadm-add-clustered-in-typo-prompt-when-specify-wron.patch of Package mdadm.7533
From f618d074a6cfd671cfeaf85967bf29afa4e1924b Mon Sep 17 00:00:00 2001
From: Zhilong Liu <zlliu@suse.com>
Date: Mon, 1 Aug 2016 23:14:39 -0400
Subject: [PATCH] mdadm:add 'clustered' in typo prompt when specify wrong param
for bitmap
mdadm: 'clustered' bitmap has already supported, thus add the
prompt if users specify wrong value for bitmap param.
Signed-off-by: Zhilong Liu <zlliu@suse.com>
diff --git a/mdadm.c b/mdadm.c
index 58ac32a..cca0933 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1142,7 +1142,7 @@ int main(int argc, char *argv[])
continue;
}
/* probable typo */
- pr_err("bitmap file must contain a '/', or be 'internal', or 'none'\n"
+ pr_err("bitmap file must contain a '/', or be 'internal', or be 'clustered', or 'none'\n"
" not '%s'\n", optarg);
exit(2);
--
2.6.6