diff options
author | sos <sos@FreeBSD.org> | 2005-05-02 07:06:50 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2005-05-02 07:06:50 +0000 |
commit | d1f3a4ab408662e8b5b8c84985418eaa983eafba (patch) | |
tree | 761975a6ba12a9811f1e5b5f37311b2f818b5bfe /sys/dev/ata | |
parent | f1dec39efb93fb7d804a13eb661667485bc53705 (diff) | |
download | FreeBSD-src-d1f3a4ab408662e8b5b8c84985418eaa983eafba.zip FreeBSD-src-d1f3a4ab408662e8b5b8c84985418eaa983eafba.tar.gz |
Always attach a subdisk even if no valid metadata found.
This allows the disks to be used later in a raid create.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-raid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c index 845e48f..3560b34 100644 --- a/sys/dev/ata/ata-raid.c +++ b/sys/dev/ata/ata-raid.c @@ -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 |