]> git.ipfire.org Git - thirdparty/grub.git/commit
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Give up
authorColin Watson <cjwatson@ubuntu.com>
Fri, 27 May 2011 12:52:21 +0000 (13:52 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Fri, 27 May 2011 12:52:21 +0000 (13:52 +0100)
commitc64db050f7f8669fa0b7e27811c869febbeaa848
treefcf53059c4d5510d50b39d11d7599a8bb2af6b38
parent245f4aba489e3a21129253c28dc138571738a5e4
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Give up
after ten consecutive open failures.  Scanning all the way up to
10000 is excessive and can cause serious performance problems in
some configurations.
Fixes Ubuntu bug #787461.
ChangeLog
grub-core/kern/emu/hostdisk.c