diff options
author | Sudhakar Panneerselvam <sudhakar.panneerselvam@oracle.com> | 2021-07-22 20:28:34 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2021-08-02 16:53:33 +0200 |
commit | e6878148c1742b1f78a659503f5e5067501ebf73 (patch) | |
tree | ecf4b0397e6c5cf07c41a8c2dfbe874f2a496fcc | |
parent | Add monitor delay parameter to mdadm.conf (diff) | |
download | mdadm-e6878148c1742b1f78a659503f5e5067501ebf73.tar.xz mdadm-e6878148c1742b1f78a659503f5e5067501ebf73.zip |
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>
-rw-r--r-- | Assemble.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -331,6 +331,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); |