mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Dont try to attach ATA RAID's if none found.
This commit is contained in:
parent
e9196dc5f7
commit
72afad5ba4
1 changed files with 3 additions and 0 deletions
|
|
@ -119,6 +119,9 @@ ata_raid_attach()
|
|||
dev_t dev;
|
||||
int array, disk;
|
||||
|
||||
if (!ar_table)
|
||||
return;
|
||||
|
||||
for (array = 0; array < MAX_ARRAYS; array++) {
|
||||
if (!(raid = ar_table[array]) || !raid->flags)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue