Dont try to attach ATA RAID's if none found.

This commit is contained in:
sos 2002-02-16 08:10:24 +00:00
parent 20dfbd36b6
commit c42e91773b

View File

@ -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;