aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/md.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 9aefc4a023df..3d5a6beb333b 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -2073,9 +2073,11 @@ static mdk_rdev_t *md_import_device(dev_t newdev, int super_format, int super_mi
2073 err = super_types[super_format]. 2073 err = super_types[super_format].
2074 load_super(rdev, NULL, super_minor); 2074 load_super(rdev, NULL, super_minor);
2075 if (err == -EINVAL) { 2075 if (err == -EINVAL) {
2076 printk(KERN_WARNING 2076 printk(KERN_WARNING
2077 "md: %s has invalid sb, not importing!\n", 2077 "md: %s does not have a valid v%d.%d "
2078 bdevname(rdev->bdev,b)); 2078 "superblock, not importing!\n",
2079 bdevname(rdev->bdev,b),
2080 super_format, super_minor);
2079 goto abort_free; 2081 goto abort_free;
2080 } 2082 }
2081 if (err < 0) { 2083 if (err < 0) {
@@ -5771,7 +5773,7 @@ static void autostart_arrays(int part)
5771 for (i = 0; i < dev_cnt; i++) { 5773 for (i = 0; i < dev_cnt; i++) {
5772 dev_t dev = detected_devices[i]; 5774 dev_t dev = detected_devices[i];
5773 5775
5774 rdev = md_import_device(dev,0, 0); 5776 rdev = md_import_device(dev,0, 90);
5775 if (IS_ERR(rdev)) 5777 if (IS_ERR(rdev))
5776 continue; 5778 continue;
5777 5779