All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap
@ 2016-08-02  9:18 Zhilong Liu
  2016-08-02 14:08 ` Jes Sorensen
  0 siblings, 1 reply; 2+ messages in thread
From: Zhilong Liu @ 2016-08-02  9:18 UTC (permalink / raw)
  To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu

  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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap
  2016-08-02  9:18 [PATCH] mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap Zhilong Liu
@ 2016-08-02 14:08 ` Jes Sorensen
  0 siblings, 0 replies; 2+ messages in thread
From: Jes Sorensen @ 2016-08-02 14:08 UTC (permalink / raw)
  To: Zhilong Liu; +Cc: linux-raid

Zhilong Liu <zlliu@suse.com> writes:
>   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>

Applied!

Thanks,
Jes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-02 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02  9:18 [PATCH] mdadm:add 'clustered' in typo prompt when specify wrong param for bitmap Zhilong Liu
2016-08-02 14:08 ` Jes Sorensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.