diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-02-02 07:07:17 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-02-02 07:07:17 +0000 |
commit | 7cc7ecf5e18b353c41d2c94814519b4b5197dd9b (patch) | |
tree | 59037dd77b349ac86d4a37dbd2b349921a620bd2 | |
parent | 767cd1616744ca8a41f1cfcf758deabc02906bae (diff) | |
download | FreeBSD-src-7cc7ecf5e18b353c41d2c94814519b4b5197dd9b.zip FreeBSD-src-7cc7ecf5e18b353c41d2c94814519b4b5197dd9b.tar.gz |
Remove static qualifier from vgonel, as it is needed by the Arla folk
outside of vfs_subr.c.
Submitted by: Assar Westerlund <assar@sics.se>
Reviewed by: rwatson
Approved by: jkh
-rw-r--r-- | sys/kern/vfs_export.c | 3 | ||||
-rw-r--r-- | sys/kern/vfs_subr.c | 3 | ||||
-rw-r--r-- | 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 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, |