Small multidevice fix
This commit is contained in:
parent
34c5965451
commit
8563e2a670
1 changed files with 2 additions and 2 deletions
|
@ -495,9 +495,9 @@ fill_vdev_info_real (struct grub_zfs_data *data,
|
||||||
fill->vdev_phys_sector = insert->vdev_phys_sector;
|
fill->vdev_phys_sector = insert->vdev_phys_sector;
|
||||||
fill->current_uberblock = insert->current_uberblock;
|
fill->current_uberblock = insert->current_uberblock;
|
||||||
fill->original = insert->original;
|
fill->original = insert->original;
|
||||||
|
if (!data->device_original)
|
||||||
|
data->device_original = fill;
|
||||||
}
|
}
|
||||||
if (!data->device_original)
|
|
||||||
data->device_original = fill;
|
|
||||||
|
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue