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 <sudhakar.panneerselvam@oracle.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
parent
0663137c77
commit
e6878148c1
|
@ -331,6 +331,11 @@ static int select_devices(struct mddev_dev *devlist,
|
||||||
/* Ignore unrecognised device if looking for
|
/* Ignore unrecognised device if looking for
|
||||||
* specific array */
|
* specific array */
|
||||||
goto loop;
|
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",
|
pr_err("%s has no superblock - assembly aborted\n",
|
||||||
devname);
|
devname);
|
||||||
|
|
Loading…
Reference in New Issue