Fix DMRAID partition handling.
This commit is contained in:
parent
88017d47a9
commit
25fc51a879
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-04-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Fix DMRAID partition handling.
|
||||||
|
|
||||||
2013-04-15 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-04-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* tests/grub_cmd_date.in: Skip on sparc64.
|
* tests/grub_cmd_date.in: Skip on sparc64.
|
||||||
|
|
|
@ -1956,6 +1956,7 @@ convert_system_partition_to_system_disk (const char *os_dev, struct stat *st,
|
||||||
grub_util_info ("dm_tree_find_node failed");
|
grub_util_info ("dm_tree_find_node failed");
|
||||||
goto devmapper_out;
|
goto devmapper_out;
|
||||||
}
|
}
|
||||||
|
reiterate:
|
||||||
node_uuid = dm_tree_node_get_uuid (node);
|
node_uuid = dm_tree_node_get_uuid (node);
|
||||||
if (! node_uuid)
|
if (! node_uuid)
|
||||||
{
|
{
|
||||||
|
@ -2030,6 +2031,9 @@ convert_system_partition_to_system_disk (const char *os_dev, struct stat *st,
|
||||||
goto devmapper_out;
|
goto devmapper_out;
|
||||||
}
|
}
|
||||||
mapper_name = child_name;
|
mapper_name = child_name;
|
||||||
|
*is_part = 1;
|
||||||
|
node = child;
|
||||||
|
goto reiterate;
|
||||||
|
|
||||||
devmapper_out:
|
devmapper_out:
|
||||||
if (! mapper_name && node)
|
if (! mapper_name && node)
|
||||||
|
|
Loading…
Reference in a new issue