* 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:
parent
0eb8ffb1f5
commit
c81296b65f
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2011-10-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/posix_wrap/ctype.h (isxdigit): Use grub_isxdigit.
|
* grub-core/lib/posix_wrap/ctype.h (isxdigit): Use grub_isxdigit.
|
||||||
|
|
|
@ -1416,7 +1416,7 @@ convert_system_partition_to_system_disk (const char *os_dev, struct stat *st)
|
||||||
if (tree)
|
if (tree)
|
||||||
dm_tree_free (tree);
|
dm_tree_free (tree);
|
||||||
free (path);
|
free (path);
|
||||||
char *ret = grub_find_device ("/dev/mapper",
|
char *ret = grub_find_device ("/dev",
|
||||||
(major << 8) | minor);
|
(major << 8) | minor);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue