* [PATCH 3/6] Revert "mdadm: fix coredump of mdadm --monitor -r"
@ 2021-12-09 18:37 Sudhakar Panneerselvam
0 siblings, 0 replies; only message in thread
From: Sudhakar Panneerselvam @ 2021-12-09 18:37 UTC (permalink / raw)
To: jes; +Cc: linux-raid
This reverts commit 546047688e1c64638f462147c755b58119cabdc8.
546047688e1c made -r require parameter in monitor mode but this
inadvertently broke -r option in "manage" mode which is used for
removing devices that are either spare or in faulty mode resulting in
some of the test cases to fail.
Reverting 546047688e1c is safe as the core dump issue that was fixed by
this commit is addressed by 60815698c0ac where parsing failures are
handled better.
Signed-off-by: Sudhakar Panneerselvam <sudhakar.panneerselvam@oracle.com>
---
ReadMe.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ReadMe.c b/ReadMe.c
index f581e1e838fc..a88f4e5d2e3d 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -81,11 +81,11 @@ char Version[] = "mdadm - v" VERSION " - " VERS_DATE EXTRAVERSION "\n";
* found, it is started.
*/
-char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:r:n:x:u:c:d:z:U:N:safRSow1tye:k";
+char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:k:";
char short_bitmap_options[]=
- "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:r:n:x:u:c:d:z:U:N:sarfRSow1tye:k:";
+ "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:k:";
char short_bitmap_auto_options[]=
- "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:r:n:x:u:c:d:z:U:N:sa:rfRSow1tye:k:";
+ "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sa:rfRSow1tye:k:";
struct option long_options[] = {
{"manage", 0, 0, ManageOpt},
--
1.8.3.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-09 18:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-09 18:37 [PATCH 3/6] Revert "mdadm: fix coredump of mdadm --monitor -r" Sudhakar Panneerselvam
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.