* kern/emu/getroot.c (find_mount_point_from_dir): Compile only if

[HAVE_LIBZFS && HAVE_LIBNVPAIR]
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2010-08-01 16:11:27 +02:00
1 parent ea9be8eadb
commit 8687cf071e
2 files changed
+10 -1

No files matched your search

+4
View File
@@ -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