summaryrefslogtreecommitdiff
path: root/sys/kern/kern_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r--sys/kern/kern_subr.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index 9f2ede2d4c95..73aa75bbef89 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -134,6 +134,10 @@ out:
return (error);
}
+#ifdef ENABLE_VFS_IOOPT
+/*
+ * Experimental support for zero-copy I/O
+ */
int
uiomoveco(cp, n, uio, obj)
caddr_t cp;
@@ -207,8 +211,9 @@ uiomoveco(cp, n, uio, obj)
return (0);
}
-#ifdef ENABLE_VFS_IOOPT
-
+/*
+ * Experimental support for zero-copy I/O
+ */
int
uioread(n, uio, obj, nread)
int n;
@@ -274,7 +279,6 @@ uioread(n, uio, obj, nread)
}
return error;
}
-
#endif
/*