[HAVE_LIBZFS && HAVE_LIBNVPAIR]
+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.
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.
return path;
}
+#if defined(HAVE_LIBZFS) && defined(HAVE_LIBNVPAIR)
+
static char *
find_mount_point_from_dir (const char *dir)
{
}
}
+#endif
+
#ifdef __linux__
/* Statting something on a btrfs filesystem always returns a virtual device