* kern/emu/getroot.c (find_mount_point_from_dir): Compile only if
[HAVE_LIBZFS && HAVE_LIBNVPAIR]
This commit is contained in:
parent
ea9be8eadb
commit
8687cf071e
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-08-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* kern/emu/getroot.c (find_mount_point_from_dir): Compile only if
|
||||
[HAVE_LIBZFS && HAVE_LIBNVPAIR]
|
||||
|
||||
2010-08-01 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* util/grub-mkrescue.in: Remove ${efi_dir} after building efi.img.
|
||||
|
@ -41,7 +46,7 @@
|
|||
2010-08-01 Robert Millan <rmh@gnu.org>
|
||||
|
||||
* kern/emu/getroot.c: Include `<grub/util/misc.h>'.
|
||||
|
||||
|
||||
2010-07-31 Robert Millan <rmh@gnu.org>
|
||||
|
||||
* util/grub.d/10_kfreebsd.in: Make module handling more generic.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue