Remove vfs_stdmount() and vfs_stdunmount(). They are not
really useful and are incompatible with nmount.
This commit is contained in:
parent
4e7c3744b8
commit
fbedc80bd1
@ -722,26 +722,6 @@ vop_stdputpages(ap)
|
||||
* vfs default ops
|
||||
* used to fill the vfs function table to get reasonable default return values.
|
||||
*/
|
||||
int
|
||||
vfs_stdmount (mp, path, data, ndp, td)
|
||||
struct mount *mp;
|
||||
char *path;
|
||||
caddr_t data;
|
||||
struct nameidata *ndp;
|
||||
struct thread *td;
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
vfs_stdunmount (mp, mntflags, td)
|
||||
struct mount *mp;
|
||||
int mntflags;
|
||||
struct thread *td;
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
vfs_stdroot (mp, vpp)
|
||||
struct mount *mp;
|
||||
|
@ -471,10 +471,7 @@ extern struct nfs_public nfs_pub;
|
||||
* kern/vfs_default.c, they should be used instead of making "dummy"
|
||||
* functions or casting entries in the VFS op table to "enopnotsupp()".
|
||||
*/
|
||||
int vfs_stdmount(struct mount *mp, char *path, caddr_t data,
|
||||
struct nameidata *ndp, struct thread *td);
|
||||
int vfs_stdstart(struct mount *mp, int flags, struct thread *td);
|
||||
int vfs_stdunmount(struct mount *mp, int mntflags, struct thread *td);
|
||||
int vfs_stdroot(struct mount *mp, struct vnode **vpp);
|
||||
int vfs_stdquotactl(struct mount *mp, int cmds, uid_t uid,
|
||||
caddr_t arg, struct thread *td);
|
||||
|
Loading…
x
Reference in New Issue
Block a user