Date: Fri, 21 Oct 2016 17:44:47 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r307744 - stable/11/sys/vm Message-ID: <201610211744.u9LHilfL094726@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Fri Oct 21 17:44:47 2016 New Revision: 307744 URL: https://svnweb.freebsd.org/changeset/base/307744 Log: MFC r307236: Plug a vnode lock leak in vm_fault_hold(). Modified: stable/11/sys/vm/vm_fault.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/vm/vm_fault.c ============================================================================== --- stable/11/sys/vm/vm_fault.c Fri Oct 21 17:43:25 2016 (r307743) +++ stable/11/sys/vm/vm_fault.c Fri Oct 21 17:44:47 2016 (r307744) @@ -321,6 +321,8 @@ RetryFault:; growstack = FALSE; goto RetryFault; } + if (fs.vp != NULL) + vput(fs.vp); return (result); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610211744.u9LHilfL094726>