diff options
-rw-r--r-- | sys/kern/vfs_subr.c | 3 | ||||
-rw-r--r-- | sys/sys/vnode.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 8d0d6c2..deb8ed5 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -90,7 +90,6 @@ static void syncer_shutdown(void *arg, int howto); static int vtryrecycle(struct vnode *vp); static void vbusy(struct vnode *vp); static void vdropl(struct vnode *vp); -static void vholdl(struct vnode *); static void vinactive(struct vnode *, struct thread *); static void v_incr_usecount(struct vnode *, int); @@ -1992,7 +1991,7 @@ vhold(struct vnode *vp) VI_UNLOCK(vp); } -static void +void vholdl(struct vnode *vp) { diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 7217328..57a303b 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -621,6 +621,7 @@ int vget(struct vnode *vp, int lockflag, struct thread *td); void vgone(struct vnode *vp); void vgonel(struct vnode *vp, struct thread *td); void vhold(struct vnode *); +void vholdl(struct vnode *); int vinvalbuf(struct vnode *vp, int save, struct thread *td, int slpflag, int slptimeo); int vtruncbuf(struct vnode *vp, struct ucred *cred, struct thread *td, |