summaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libzpool')
-rw-r--r--lib/libzpool/Makefile.am1
-rw-r--r--lib/libzpool/kernel.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am
index f2a7a00a8..58e3b6eec 100644
--- a/lib/libzpool/Makefile.am
+++ b/lib/libzpool/Makefile.am
@@ -92,6 +92,7 @@ KERNEL_C = \
skein_zfs.c \
spa.c \
spa_boot.c \
+ spa_checkpoint.c \
spa_config.c \
spa_errlog.c \
spa_history.c \
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c
index 1eaa51b9f..341548ac3 100644
--- a/lib/libzpool/kernel.c
+++ b/lib/libzpool/kernel.c
@@ -497,8 +497,6 @@ vn_open(char *path, int x1, int flags, int mode, vnode_t **vpp, int x2, int x3)
#ifdef __linux__
flags |= O_DIRECT;
#endif
- /* We shouldn't be writing to block devices in userspace */
- VERIFY(!(flags & FWRITE));
}
if (flags & FCREAT)