* [PATCH 3/5] Assemble: skip devices that don't match uuid instead of aborting the assembly.
@ 2021-07-22 18:28 Sudhakar Panneerselvam
2021-08-02 14:53 ` Jes Sorensen
0 siblings, 1 reply; 2+ messages in thread
From: Sudhakar Panneerselvam @ 2021-07-22 18:28 UTC (permalink / raw)
To: jes; +Cc: linux-raid
This fixes '03r0assem' test as assembly fails when looking for specific
uuid among the device list.
Signed-off-by: Sudhakar Panneerselvam <sudhakar.panneerselvam@oracle.com>
---
Assemble.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Assemble.c b/Assemble.c
index 5c6aca9253ac..b46891c0ddaa 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -274,6 +274,11 @@ static int select_devices(struct mddev_dev *devlist,
/* Ignore unrecognised device if looking for
* specific array */
goto loop;
+ if (ident->uuid_set)
+ /* ignore unrecognized device if looking for
+ * specific uuid
+ */
+ goto loop;
pr_err("%s has no superblock - assembly aborted\n",
devname);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/5] Assemble: skip devices that don't match uuid instead of aborting the assembly.
2021-07-22 18:28 [PATCH 3/5] Assemble: skip devices that don't match uuid instead of aborting the assembly Sudhakar Panneerselvam
@ 2021-08-02 14:53 ` Jes Sorensen
0 siblings, 0 replies; 2+ messages in thread
From: Jes Sorensen @ 2021-08-02 14:53 UTC (permalink / raw)
To: Sudhakar Panneerselvam; +Cc: linux-raid
On 7/22/21 2:28 PM, Sudhakar Panneerselvam wrote:
> This fixes '03r0assem' test as assembly fails when looking for specific
> uuid among the device list.
>
> Signed-off-by: Sudhakar Panneerselvam <sudhakar.panneerselvam@oracle.com>
> ---
> Assemble.c | 5 +++++
> 1 file changed, 5 insertions(+)
Applied!
Thanks,
Jes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-02 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 18:28 [PATCH 3/5] Assemble: skip devices that don't match uuid instead of aborting the assembly Sudhakar Panneerselvam
2021-08-02 14:53 ` 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.