summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/devfs/devfs_vfsops.c')
-rw-r--r--sys/fs/devfs/devfs_vfsops.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c
index f23d660..27a759f 100644
--- a/sys/fs/devfs/devfs_vfsops.c
+++ b/sys/fs/devfs/devfs_vfsops.c
@@ -51,7 +51,7 @@
MALLOC_DEFINE(M_DEVFS, "DEVFS", "DEVFS data");
-static vfs_nmount_t devfs_nmount;
+static vfs_mount_t devfs_mount;
static vfs_unmount_t devfs_unmount;
static vfs_root_t devfs_root;
static vfs_statfs_t devfs_statfs;
@@ -60,10 +60,7 @@ static vfs_statfs_t devfs_statfs;
* Mount the filesystem
*/
static int
-devfs_nmount(mp, ndp, td)
- struct mount *mp;
- struct nameidata *ndp;
- struct thread *td;
+devfs_mount(struct mount *mp, struct thread *td)
{
int error;
struct devfs_mount *fmp;
@@ -187,7 +184,7 @@ devfs_statfs(mp, sbp, td)
}
static struct vfsops devfs_vfsops = {
- .vfs_nmount = devfs_nmount,
+ .vfs_mount = devfs_mount,
.vfs_root = devfs_root,
.vfs_statfs = devfs_statfs,
.vfs_unmount = devfs_unmount,
OpenPOWER on IntegriCloud