diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index bad98282bf4..d38f5836b4e 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -95,7 +95,6 @@ static int flushbuflist(struct bufv *bufv, int flags, struct bufobj *bo, 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 vinactive(struct vnode *, struct thread *); static void v_incr_usecount(struct vnode *); static void v_decr_usecount(struct vnode *); @@ -2214,7 +2213,7 @@ vdrop(struct vnode *vp) * the vnode we will free it if it has been vgone'd otherwise it is * placed on the free list. */ -static void +void vdropl(struct vnode *vp) { diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index da47a50b241..ea9708bc066 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -591,6 +591,7 @@ int vaccess_acl_posix1e(enum vtype type, uid_t file_uid, void vattr_null(struct vattr *vap); int vcount(struct vnode *vp); void vdrop(struct vnode *); +void vdropl(struct vnode *); void vfs_add_vnodeops(const void *); void vfs_rm_vnodeops(const void *); int vflush(struct mount *mp, int rootrefs, int flags, struct thread *td);