1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Retire unused vfs_mount() function in the name of nmount migration.

This commit is contained in:
Poul-Henning Kamp 2004-12-03 18:40:58 +00:00
parent 1f73cc7d3d
commit a08805c741
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138356
2 changed files with 0 additions and 25 deletions

View File

@ -631,30 +631,6 @@ mount(td, uap)
return (error);
}
/*
* vfs_mount(): actually attempt a filesystem mount.
*
* This routine is designed to be a "generic" entry point for routines
* that wish to mount a filesystem. All parameters except `fsdata' are
* pointers into kernel space. `fsdata' is currently still a pointer
* into userspace.
*/
int
vfs_mount(td, fstype, fspath, fsflags, fsdata)
struct thread *td;
const char *fstype;
char *fspath;
int fsflags;
void *fsdata;
{
int error;
mtx_lock(&Giant);
error = vfs_domount(td, fstype, fspath, fsflags, fsdata, 1);
mtx_unlock(&Giant);
return (error);
}
/*
* vfs_domount(): actually attempt a filesystem mount.
*/

View File

@ -568,7 +568,6 @@ struct vfsconf *vfs_byname_kld(const char *, struct thread *td, int *);
void vfs_event_signal(fsid_t *, u_int32_t, intptr_t);
int vfs_getopt(struct vfsoptlist *, const char *, void **, int *);
int vfs_copyopt(struct vfsoptlist *, const char *, void *, int);
int vfs_mount(struct thread *, const char *, char *, int, void *);
int vfs_setpublicfs /* set publicly exported fs */
(struct mount *, struct netexport *, struct export_args *);
int vfs_lock(struct mount *); /* lock a vfs */