1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Add vfs_cmount() method to vfs_ops, this is to convert old-style mount

args to nmount request.
This commit is contained in:
Poul-Henning Kamp 2004-12-03 19:33:19 +00:00
parent 2a8b79eb6a
commit 7ec0ec0655
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138358

View File

@ -465,6 +465,7 @@ struct mount_args;
struct nameidata;
struct sysctl_req;
typedef int vfs_cmount_t(char *path, void *data, int flags, struct thread *td);
typedef int vfs_omount_t(struct mount *mp, char *path, caddr_t data,
struct thread *td);
typedef int vfs_start_t(struct mount *mp, int flags, struct thread *td);
@ -494,6 +495,7 @@ typedef int vfs_sysctl_t(struct mount *mp, fsctlop_t op,
struct vfsops {
vfs_mount_t *vfs_mount;
vfs_omount_t *vfs_omount;
vfs_cmount_t *vfs_cmount;
vfs_start_t *vfs_start;
vfs_unmount_t *vfs_unmount;
vfs_root_t *vfs_root;
@ -507,7 +509,6 @@ struct vfsops {
vfs_init_t *vfs_init;
vfs_uninit_t *vfs_uninit;
vfs_extattrctl_t *vfs_extattrctl;
/* Additions below are not binary compatible with 5.0 and below. */
vfs_sysctl_t *vfs_sysctl;
};