summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-03-16 08:59:37 +0000
committertjr <tjr@FreeBSD.org>2004-03-16 08:59:37 +0000
commitd37f036c1829ff37b16b16900d8784d8548978b4 (patch)
treef62f2ce4c5b064050ecfabaa5185239aebee2cad /sys/kern
parentf1f3d78ff5e106edd85749e95403f81f3ea90e3f (diff)
downloadFreeBSD-src-d37f036c1829ff37b16b16900d8784d8548978b4.zip
FreeBSD-src-d37f036c1829ff37b16b16900d8784d8548978b4.tar.gz
Make vfs_nmount() public. The Linux emulator needs this in order to mount
linprocfs filesystems.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_mount.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index ff52a43..53eb026 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -109,7 +109,6 @@ static int vfs_mount_alloc(struct vnode *dvp, struct vfsconf *vfsp,
const char *fspath, struct thread *td, struct mount **mpp);
static int vfs_mountroot_ask(void);
static int vfs_mountroot_try(char *mountfrom);
-static int vfs_nmount(struct thread *td, int fsflags, struct uio *fsopts);
static int usermount = 0; /* if 1, non-root can mount fs. */
SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, "");
@@ -539,7 +538,7 @@ vfs_mount_destroy(struct mount *mp, struct thread *td)
free(mp, M_MOUNT);
}
-static int
+int
vfs_nmount(struct thread *td, int fsflags, struct uio *fsoptions)
{
struct vfsoptlist *optlist;
OpenPOWER on IntegriCloud