summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_export.c3
-rw-r--r--sys/kern/vfs_subr.c3
-rw-r--r--sys/sys/vnode.h1
3 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index e0ef113..06cc0d8 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -82,7 +82,6 @@ static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure");
static void insmntque __P((struct vnode *vp, struct mount *mp));
static void vclean __P((struct vnode *vp, int flags, struct proc *p));
static void vfree __P((struct vnode *));
-static void vgonel __P((struct vnode *vp, struct proc *p));
static unsigned long numvnodes;
SYSCTL_INT(_debug, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, "");
@@ -1820,7 +1819,7 @@ vgone(vp)
/*
* vgone, with the vp interlock held.
*/
-static void
+void
vgonel(vp, p)
struct vnode *vp;
struct proc *p;
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index e0ef113..06cc0d8 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -82,7 +82,6 @@ static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure");
static void insmntque __P((struct vnode *vp, struct mount *mp));
static void vclean __P((struct vnode *vp, int flags, struct proc *p));
static void vfree __P((struct vnode *));
-static void vgonel __P((struct vnode *vp, struct proc *p));
static unsigned long numvnodes;
SYSCTL_INT(_debug, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, "");
@@ -1820,7 +1819,7 @@ vgone(vp)
/*
* vgone, with the vp interlock held.
*/
-static void
+void
vgonel(vp, p)
struct vnode *vp;
struct proc *p;
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 63e275e..f8b4f31 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -558,6 +558,7 @@ void vfs_rm_vnodeops __P((const void *));
int vflush __P((struct mount *mp, struct vnode *skipvp, int flags));
int vget __P((struct vnode *vp, int lockflag, struct proc *p));
void vgone __P((struct vnode *vp));
+void vgonel __P((struct vnode *vp, struct proc *p));
void vhold __P((struct vnode *));
int vinvalbuf __P((struct vnode *vp, int save, struct ucred *cred,
OpenPOWER on IntegriCloud