Assemble: skip devices that don't match uuid instead of aborting the assembly.
PATCH 3/5 Assemble: skip devices that don't match uuid instead of aborting the assembly.
This fixes '03r0assem' test as assembly fails when looking for specific uuid among the device list.
Signed-off-by Sudhakar Panneerselvam <[email protected]>
--- Assemble.c | 5 +++++ 1 file changed, 5 insertions(+)
Assemble.c +5 -0
@@ -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);
Signature · 1 line
1.8.3.1
Jes Sorensen
AppliedQuoted 7 lines · Sudhakar Panneerselvam
This fixes '03r0assem' test as assembly fails when looking for specific uuid among the device list.
Signed-off-by Sudhakar Panneerselvam <[email protected]>--- Assemble.c | 5 +++++ 1 file changed, 5 insertions(+)
Applied!
Thanks,
Jes