From 7ec0ec065508c42cf79b9da173f7f14478aaf7fe Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 3 Dec 2004 19:33:19 +0000 Subject: [PATCH] Add vfs_cmount() method to vfs_ops, this is to convert old-style mount args to nmount request. --- sys/sys/mount.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 3ba5923c201e..1c2965468ef9 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -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; };