Plug a potential vnode lock leak in vm_fault_hold().

Reviewed by:	alc, kib
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D8242
This commit is contained in:
markj 2016-10-13 20:39:34 +00:00
parent 3fbefcb2d1
commit 47ebd84fca

View File

@ -321,6 +321,8 @@ RetryFault:;
growstack = FALSE;
goto RetryFault;
}
if (fs.vp != NULL)
vput(fs.vp);
return (result);
}