* util/getroot.c (grub_find_root_devices_from_mountinfo): Handle

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

No files matched your search

+5
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
+2 -1
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, '/');