mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/disk/raid.c (scan_devices): Fix condition.
This commit is contained in:
1 parent
5d048bf210
commit
ef6e433586
2 files changed
+5
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user