Skip to contentSkip to conversation

mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap

PATCH Applied Zhilong Liu 2 participants 2 messages Aug 2, 2016 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

mdadm.c +1 -1
index 58ac32a..cca0933 100644
@@ -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);
 
Signature · 1 line
2.6.6
Applied
#1 lore raw
Quoted 4 lines · Zhilong Liu

mdadm: 'clustered' bitmap has already supported, thus add the
prompt if users specify wrong value for bitmap param.

Applied!

Thanks,
Jes