mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Add missing vdrop() in error case.
Submitted by: Fahad (mohd.fahadullah@isilon.com) MFC after: 1 week
This commit is contained in:
parent
454189c130
commit
770b41b349
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250247
@ -731,6 +731,7 @@ vlrureclaim(struct mount *mp)
|
||||
(vp->v_object != NULL &&
|
||||
vp->v_object->resident_page_count > trigger)) {
|
||||
VOP_UNLOCK(vp, LK_INTERLOCK);
|
||||
vdrop(vp);
|
||||
goto next_iter_mntunlocked;
|
||||
}
|
||||
KASSERT((vp->v_iflag & VI_DOOMED) == 0,
|
||||
|
Loading…
Reference in New Issue
Block a user