* 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:
Colin Watson 2011-04-21 10:26:29 +01:00
parent b13f79a427
commit 92051871b7
2 changed files with 7 additions and 3 deletions

View file

@ -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. */
for (i = entry_len - 1; i >= 0; i--)
{
if (entries[i].major != 0)
continue; /* not a virtual device */
if (!*entries[i].device)
continue;