summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-06-14 20:04:21 +0000
committermux <mux@FreeBSD.org>2002-06-14 20:04:21 +0000
commit49532dbc776e0ef91949a1d08a7ebcb85b7ec928 (patch)
tree71a7e001c49e387bac9b75c3003acb0bcaa84b94 /sys/sys
parentadc6403288268b8e412c183b3617e892edb03475 (diff)
downloadFreeBSD-src-49532dbc776e0ef91949a1d08a7ebcb85b7ec928.zip
FreeBSD-src-49532dbc776e0ef91949a1d08a7ebcb85b7ec928.tar.gz
Change vfs_copyopt() so that the length argument passed to it
must be the exact same size as the mount option. This makes vfs_copyopt() much more useful.
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/mount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 9dd5b45..2c47491 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -440,7 +440,7 @@ int dounmount(struct mount *, int, struct thread *td);
int kernel_mount(struct iovec *iovp, unsigned int iovcnt, int flags);
int kernel_vmount(int flags, ...);
int vfs_getopt(struct vfsoptlist *, const char *, void **, int *);
-int vfs_copyopt(struct vfsoptlist *, const char *, void *, int, int *);
+int vfs_copyopt(struct vfsoptlist *, const char *, void *, int);
int vfs_mount(struct thread *td, const char *type, char *path,
int flags, void *data);
int vfs_setpublicfs /* set publicly exported fs */
OpenPOWER on IntegriCloud