* util/getroot.c (grub_find_root_devices_from_mountinfo): Handle

"zfs" and "fuse.zfs" as synonyms.
This commit is contained in:
Richard Laager 2012-02-27 20:14:26 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 071114bb3e
commit f122e0d648
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-27 Richard Laager <rlaager@wiktel.com>
* util/getroot.c (grub_find_root_devices_from_mountinfo): Handle
"zfs" and "fuse.zfs" as synonyms.
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Put platform and target_cpu substitutions back since

View file

@ -601,7 +601,8 @@ grub_find_root_devices_from_mountinfo (const char *dir, char **relroot)
if (!*entries[i].device)
continue;
if (grub_strcmp (entries[i].fstype, "fuse.zfs") == 0)
if (grub_strcmp (entries[i].fstype, "fuse.zfs") == 0
|| grub_strcmp (entries[i].fstype, "zfs") == 0)
{
char *slash;
slash = strchr (entries[i].device, '/');