1
0
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:
Matthew D Fleming 2013-05-04 18:38:16 +00:00
parent 454189c130
commit 770b41b349
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250247

View File

@ -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,