Dont try to attach ATA RAID's if none found.
This commit is contained in:
parent
bf6c121d57
commit
3db5ce831c
@ -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 New Issue
Block a user