vfs: drop an always-false check from vlrureclaim
The vnode gets held few lines prior, making the VI_FREE condition illegal.
This commit is contained in:
parent
d2203b48a5
commit
57db0e12c8
@ -1059,7 +1059,6 @@ vlrureclaim(struct mount *mp, bool reclaim_nc_src, int trigger)
|
||||
*/
|
||||
if (vp->v_usecount ||
|
||||
(!reclaim_nc_src && !LIST_EMPTY(&vp->v_cache_src)) ||
|
||||
(vp->v_iflag & VI_FREE) != 0 ||
|
||||
(vp->v_object != NULL &&
|
||||
vp->v_object->resident_page_count > trigger)) {
|
||||
VOP_UNLOCK(vp, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user