diff options
-rw-r--r-- | sys/fs/fdescfs/fdesc.h | 1 | ||||
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fdescfs/fdesc.h b/sys/fs/fdescfs/fdesc.h index 825e608..fb7d952 100644 --- a/sys/fs/fdescfs/fdesc.h +++ b/sys/fs/fdescfs/fdesc.h @@ -59,7 +59,6 @@ struct fdescnode { #define VTOFDESC(vp) ((struct fdescnode *)(vp)->v_data) extern vfs_init_t fdesc_init; -extern vfs_root_t fdesc_root; extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **, struct thread *); #endif /* _KERNEL */ diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index b44bd74..e9bb5c7 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -57,6 +57,7 @@ static MALLOC_DEFINE(M_FDESCMNT, "FDESC mount", "FDESC mount structure"); static vfs_mount_t fdesc_mount; static vfs_unmount_t fdesc_unmount; static vfs_statfs_t fdesc_statfs; +static vfs_root_t fdesc_root; /* * Mount the per-process file descriptors (/dev/fd) @@ -124,7 +125,7 @@ fdesc_unmount(mp, mntflags, td) return (0); } -int +static int fdesc_root(mp, vpp, td) struct mount *mp; struct vnode **vpp; |