Small multidevice fix

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-27 02:36:10 +02:00
parent 34c5965451
commit 8563e2a670

View file

@ -495,9 +495,9 @@ fill_vdev_info_real (struct grub_zfs_data *data,
fill->vdev_phys_sector = insert->vdev_phys_sector;
fill->current_uberblock = insert->current_uberblock;
fill->original = insert->original;
if (!data->device_original)
data->device_original = fill;
}
if (!data->device_original)
data->device_original = fill;
return GRUB_ERR_NONE;
}