diff options
author | mux <mux@FreeBSD.org> | 2002-05-02 20:27:42 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-05-02 20:27:42 +0000 |
commit | 85b0c22bf2395ebfad953cd4ba6add044c1ca45d (patch) | |
tree | 2d51ebb2618b2c828aa7cfbcc1ec123b06676353 /sys/fs/devfs/devfs_vfsops.c | |
parent | bd5dc603e6bce2a255d839edae4e1e8baae176f6 (diff) | |
download | FreeBSD-src-85b0c22bf2395ebfad953cd4ba6add044c1ca45d.zip FreeBSD-src-85b0c22bf2395ebfad953cd4ba6add044c1ca45d.tar.gz |
Convert devfs to nmount.
Reviewed by: phk
Diffstat (limited to 'sys/fs/devfs/devfs_vfsops.c')
-rw-r--r-- | sys/fs/devfs/devfs_vfsops.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c index 55c5d3d..4b2d770 100644 --- a/sys/fs/devfs/devfs_vfsops.c +++ b/sys/fs/devfs/devfs_vfsops.c @@ -50,8 +50,8 @@ MALLOC_DEFINE(M_DEVFS, "DEVFS", "DEVFS data"); -static int devfs_mount(struct mount *mp, char *path, caddr_t data, - struct nameidata *ndp, struct thread *td); +static int devfs_mount(struct mount *mp, struct nameidata *ndp, + struct thread *td); static int devfs_unmount(struct mount *mp, int mntflags, struct thread *td); static int devfs_root(struct mount *mp, struct vnode **vpp); @@ -62,10 +62,8 @@ static int devfs_statfs(struct mount *mp, struct statfs *sbp, * Mount the filesystem */ static int -devfs_mount(mp, path, data, ndp, td) +devfs_mount(mp, ndp, td) struct mount *mp; - char *path; - caddr_t data; struct nameidata *ndp; struct thread *td; { @@ -180,7 +178,7 @@ devfs_statfs(mp, sbp, td) } static struct vfsops devfs_vfsops = { - devfs_mount, + NULL, vfs_stdstart, devfs_unmount, devfs_root, @@ -194,6 +192,7 @@ static struct vfsops devfs_vfsops = { vfs_stdinit, vfs_stduninit, vfs_stdextattrctl, + devfs_mount, }; VFS_SET(devfs_vfsops, devfs, VFCF_SYNTHETIC); |