diff --git a/drivers/md/md.c b/drivers/md/md.c index 7daa7b1e145f32d3736a48e7e9ee6e81f94c5bb8..c40ce9f9cc9bac881c4a737a7a85e05fd9e13897 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -2003,6 +2003,7 @@ static mdk_rdev_t *md_import_device(dev_t newdev, int super_format, int super_mi kobject_init(&rdev->kobj); rdev->desc_nr = -1; + rdev->saved_raid_disk = -1; rdev->flags = 0; rdev->data_offset = 0; rdev->sb_events = 0;