* grub-core/kern/emu/hostdisk.c

(convert_system_partition_to_system_disk): Don't assume that children
	of mapper nodes are mapper nodes.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-14 19:20:44 +02:00
parent 0eb8ffb1f5
commit c81296b65f
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2011-10-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c
(convert_system_partition_to_system_disk): Don't assume that children
of mapper nodes are mapper nodes.
2011-10-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/posix_wrap/ctype.h (isxdigit): Use grub_isxdigit.

View file

@ -1416,7 +1416,7 @@ convert_system_partition_to_system_disk (const char *os_dev, struct stat *st)
if (tree)
dm_tree_free (tree);
free (path);
char *ret = grub_find_device ("/dev/mapper",
char *ret = grub_find_device ("/dev",
(major << 8) | minor);
return ret;
}