From b7a5f3ca1bc9e376c4aba7ca23965bea889b5454 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Wed, 2 Feb 2000 07:07:17 +0000 Subject: [PATCH] Remove static qualifier from vgonel, as it is needed by the Arla folk outside of vfs_subr.c. Submitted by: Assar Westerlund Reviewed by: rwatson Approved by: jkh --- sys/kern/vfs_export.c | 3 +-- sys/kern/vfs_subr.c | 3 +-- sys/sys/vnode.h | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index e0ef113e50c1..06cc0d8e3879 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 e0ef113e50c1..06cc0d8e3879 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 63e275e81604..f8b4f31da3e5 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,