diff options
author | mdf <mdf@FreeBSD.org> | 2013-05-04 18:38:16 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2013-05-04 18:38:16 +0000 |
commit | f106bf787a663f94d44ad2b9916394298e13428e (patch) | |
tree | 5b313d94527a89584be9fe6d0c9eec307caa6ac1 /sys/kern | |
parent | 858e632fa772e70a4c71dab4a9d292bc89b92dff (diff) | |
download | FreeBSD-src-f106bf787a663f94d44ad2b9916394298e13428e.zip FreeBSD-src-f106bf787a663f94d44ad2b9916394298e13428e.tar.gz |
Add missing vdrop() in error case.
Submitted by: Fahad (mohd.fahadullah@isilon.com)
MFC after: 1 week
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_subr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 9a27ae7..de118f7 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -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, |