summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs/fdesc_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/fdescfs/fdesc_vfsops.c')
-rw-r--r--sys/fs/fdescfs/fdesc_vfsops.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c
index 2cd56f5..01e8956 100644
--- a/sys/fs/fdescfs/fdesc_vfsops.c
+++ b/sys/fs/fdescfs/fdesc_vfsops.c
@@ -54,7 +54,7 @@
static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure");
-static vfs_nmount_t fdesc_mount;
+static vfs_mount_t fdesc_mount;
static vfs_unmount_t fdesc_unmount;
static vfs_statfs_t fdesc_statfs;
@@ -62,10 +62,7 @@ static vfs_statfs_t fdesc_statfs;
* Mount the per-process file descriptors (/dev/fd)
*/
static int
-fdesc_mount(mp, ndp, td)
- struct mount *mp;
- struct nameidata *ndp;
- struct thread *td;
+fdesc_mount(struct mount *mp, struct thread *td)
{
int error = 0;
struct fdescmount *fmp;
@@ -203,7 +200,7 @@ fdesc_statfs(mp, sbp, td)
static struct vfsops fdesc_vfsops = {
.vfs_init = fdesc_init,
- .vfs_nmount = fdesc_mount,
+ .vfs_mount = fdesc_mount,
.vfs_root = fdesc_root,
.vfs_statfs = fdesc_statfs,
.vfs_unmount = fdesc_unmount,
OpenPOWER on IntegriCloud