Hi, Looks good to me. Regards, Hans On 03/20/2010 11:58 AM, David Cantrell wrote:
If part_list is NULL in loadDriverFromMedia() in the DEV_PART state, we want the user to go to DEV_INSERT rather than back to DEV_DEVICE. If the user goes back to DEV_DEVICE, we run the risk of entering an infinite loop as well as no longer handling loading from devices that lack partitions (floppy disks, CD and DVD media, USB media without a partition, and so on). --- loader2/driverdisk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/loader2/driverdisk.c b/loader2/driverdisk.c index 0a53b93..40d9901 100644 --- a/loader2/driverdisk.c +++ b/loader2/driverdisk.c @@ -291,7 +291,7 @@ int loadDriverFromMedia(int class, struct loaderData_s *loaderData, /* if somebody removed the drive, partition list is NULL */ /* rhbz#521189 */ if (!part_list){ - stage = DEV_DEVICE; + stage = DEV_INSERT; break; }
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list