Always attach a subdisk even if no valid metadata found.

This allows the disks to be used later in a raid create.
This commit is contained in:
Søren Schmidt 2005-05-02 07:06:50 +00:00
parent b7903e65fb
commit 4156b20c71

View file

@ -3073,7 +3073,8 @@ ata_raid_subdisk_attach(device_t dev)
ars->raid = NULL;
ars->disk_number = -1;
return ata_raid_read_metadata(dev);
ata_raid_read_metadata(dev);
return 0;
}
static int