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 bf6c121d57
commit 3db5ce831c

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;