aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzpool/kernel.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-10-01 16:32:49 -0700
committerBrian Behlendorf <[email protected]>2016-05-17 11:00:21 -0700
commit83025286175d1ee1c29b842531070f3250a172ba (patch)
tree91400e75e8bc469e21af0a08baa5a0e53ca12c2f /lib/libzpool/kernel.c
parent72c407f8272a4d534da4ecc2c374fd13a49629cc (diff)
zhack: Add 'feature disable' command
Signed-off-by: Brian Behlendorf <[email protected]> Issue #3878
Diffstat (limited to 'lib/libzpool/kernel.c')
-rw-r--r--lib/libzpool/kernel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c
index 89e474c65..f14552374 100644
--- a/lib/libzpool/kernel.c
+++ b/lib/libzpool/kernel.c
@@ -647,8 +647,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)