summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-10 12:09:15 +0000
committerphk <phk@FreeBSD.org>2005-02-10 12:09:15 +0000
commit34655596ce97ac79e1cea592bed42044a2ef3c5d (patch)
tree3b2a39bb689dfde8db501407a091beb0c0a9dc70 /sys/fs/fdescfs
parent590bf5ec9c43f008c5109e259be68f117ff2f405 (diff)
downloadFreeBSD-src-34655596ce97ac79e1cea592bed42044a2ef3c5d.zip
FreeBSD-src-34655596ce97ac79e1cea592bed42044a2ef3c5d.tar.gz
Make fdesc_root static
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r--sys/fs/fdescfs/fdesc.h1
-rw-r--r--sys/fs/fdescfs/fdesc_vfsops.c3
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;
OpenPOWER on IntegriCloud