mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
b7903e65fb
commit
4156b20c71
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue