Make vfs_nmount() public. The Linux emulator needs this in order to mount

linprocfs filesystems.
This commit is contained in:
tjr 2004-03-16 08:59:37 +00:00
parent f1f3d78ff5
commit d37f036c18
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -486,6 +486,7 @@ int vfs_getopt(struct vfsoptlist *, const char *, void **, 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_nmount(struct thread *td, int fsflags, struct uio *fsoptions);
int vfs_setpublicfs /* set publicly exported fs */
(struct mount *, struct netexport *, struct export_args *);
int vfs_lock(struct mount *); /* lock a vfs */