summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-03-31 22:44:45 +0000
committerpjd <pjd@FreeBSD.org>2007-03-31 22:44:45 +0000
commit969ba6629956a31607022caa91f0ffa3e7cc15bb (patch)
treeefff4f4129fe20149a238a3dae3801e8d1231845 /sys/kern
parent2232891f0b725e5df3a164491ff84b0bd0660640 (diff)
downloadFreeBSD-src-969ba6629956a31607022caa91f0ffa3e7cc15bb.zip
FreeBSD-src-969ba6629956a31607022caa91f0ffa3e7cc15bb.tar.gz
Make vfs_mount_destroy() and vfs_freeopts() non-static, I'd like to use them.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_mount.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index cd567e8..fc44e6c 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -87,7 +87,6 @@ static int vfs_mountroot_try(const char *mountfrom);
static int vfs_donmount(struct thread *td, int fsflags,
struct uio *fsoptions);
static void free_mntarg(struct mntarg *ma);
-static void vfs_mount_destroy(struct mount *);
static int vfs_getopt_pos(struct vfsoptlist *opts, const char *name);
static int usermount = 0;
@@ -185,7 +184,7 @@ vfs_freeopt(struct vfsoptlist *opts, struct vfsopt *opt)
}
/* Release all resources related to the mount options. */
-static void
+void
vfs_freeopts(struct vfsoptlist *opts)
{
struct vfsopt *opt;
@@ -504,7 +503,7 @@ vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp,
/*
* Destroy the mount struct previously allocated by vfs_mount_alloc().
*/
-static void
+void
vfs_mount_destroy(struct mount *mp)
{
int i;
OpenPOWER on IntegriCloud