* grub-core/disk/raid.c (scan_devices): Fix condition.
This commit is contained in:
parent
5d048bf210
commit
ef6e433586
2 changed files with 5 additions and 1 deletions
|
@ -120,7 +120,7 @@ scan_devices (const char *arname)
|
|||
struct grub_raid_member *m;
|
||||
for (m = arr->members; m < arr->members + arr->nr_devs; m++)
|
||||
if (m->device && m->device->id == disk->id
|
||||
&& m->device->dev->id == m->device->dev->id
|
||||
&& m->device->dev->id == disk->dev->id
|
||||
&& grub_partition_get_start (m->device->partition)
|
||||
== grub_partition_get_start (disk->partition)
|
||||
&& grub_disk_get_size (m->device)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue