mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* kern/emu/getroot.c (find_mount_point_from_dir): Compile only if
[HAVE_LIBZFS && HAVE_LIBNVPAIR]
This commit is contained in:
1 parent
ea9be8eadb
commit
8687cf071e
2 files changed
+10
-1
No files matched your search
@@ -98,6 +98,8 @@ xgetcwd (void)
|
||||
return path;
|
||||
}
|
||||
|
||||
#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR)
|
||||
|
||||
static char *
|
||||
find_mount_point_from_dir (const char *dir)
|
||||
{
|
||||
@@ -154,6 +156,8 @@ find_mount_point_from_dir (const char *dir)
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
|
||||
/* Statting something on a btrfs filesystem always returns a virtual device
|
||||
|
||||
Reference in new issue
Block a user