* grub-core/kern/emu/getroot.c
(grub_find_root_device_from_mountinfo): Remove non-virtual-device test that was incorrectly reintroduced in r3214. Reported by: Ian Dall. Fixes Savannah bug #33133.
This commit is contained in:
parent
b13f79a427
commit
92051871b7
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2011-04-21 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* grub-core/kern/emu/getroot.c
|
||||||
|
(grub_find_root_device_from_mountinfo): Remove non-virtual-device
|
||||||
|
test that was incorrectly reintroduced in r3214.
|
||||||
|
Reported by: Ian Dall. Fixes Savannah bug #33133.
|
||||||
|
|
||||||
2011-04-21 Colin Watson <cjwatson@ubuntu.com>
|
2011-04-21 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
Fix stack pointer handling in 16-bit relocator.
|
Fix stack pointer handling in 16-bit relocator.
|
||||||
|
|
|
@ -216,9 +216,6 @@ grub_find_root_device_from_mountinfo (const char *dir, char **relroot)
|
||||||
/* Now scan visible mounts for the ones we're interested in. */
|
/* Now scan visible mounts for the ones we're interested in. */
|
||||||
for (i = entry_len - 1; i >= 0; i--)
|
for (i = entry_len - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
if (entries[i].major != 0)
|
|
||||||
continue; /* not a virtual device */
|
|
||||||
|
|
||||||
if (!*entries[i].device)
|
if (!*entries[i].device)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue