* Recycle an unused vnode to the front of the free list. */
| 3820 | * Recycle an unused vnode to the front of the free list. |
| 3821 | */ |
| 3822 | int |
| 3823 | vrecycle(struct vnode *vp) |
| 3824 | { |
| 3825 | int recycled; |
| 3826 | |
| 3827 | VI_LOCK(vp); |
| 3828 | recycled = vrecyclel(vp); |
| 3829 | VI_UNLOCK(vp); |
| 3830 | return (recycled); |
| 3831 | } |
| 3832 | |
| 3833 | /* |
| 3834 | * vrecycle, with the vp interlock held. |
no test coverage detected