diff options
author | mux <mux@FreeBSD.org> | 2002-05-02 20:24:50 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-05-02 20:24:50 +0000 |
commit | 587c11370f79cbebb414fcc077c2faeabee93f4f (patch) | |
tree | fb34abdec64f47af3a89b0bbe00f253c91d848b0 /sys/fs/fdescfs | |
parent | ca957593cb478ff8fc579a8ef4cddb71ed156189 (diff) | |
download | FreeBSD-src-587c11370f79cbebb414fcc077c2faeabee93f4f.zip FreeBSD-src-587c11370f79cbebb414fcc077c2faeabee93f4f.tar.gz |
Convert fdescfs to nmount.
Reviewed by: phk
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index de4fa4d..d5dc572 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -58,8 +58,8 @@ static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure"); -static int fdesc_mount(struct mount *mp, char *path, caddr_t data, - struct nameidata *ndp, struct thread *td); +static int fdesc_mount(struct mount *mp, struct nameidata *ndp, + struct thread *td); static int fdesc_unmount(struct mount *mp, int mntflags, struct thread *td); static int fdesc_statfs(struct mount *mp, struct statfs *sbp, @@ -69,10 +69,8 @@ static int fdesc_statfs(struct mount *mp, struct statfs *sbp, * Mount the per-process file descriptors (/dev/fd) */ static int -fdesc_mount(mp, path, data, ndp, td) +fdesc_mount(mp, ndp, td) struct mount *mp; - char *path; - caddr_t data; struct nameidata *ndp; struct thread *td; { @@ -209,7 +207,7 @@ fdesc_statfs(mp, sbp, td) } static struct vfsops fdesc_vfsops = { - fdesc_mount, + NULL, vfs_stdstart, fdesc_unmount, fdesc_root, @@ -223,6 +221,7 @@ static struct vfsops fdesc_vfsops = { fdesc_init, vfs_stduninit, vfs_stdextattrctl, + fdesc_mount, }; VFS_SET(fdesc_vfsops, fdescfs, VFCF_SYNTHETIC); |