Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2016 18:47:28 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308095 - head/sys/vm
Message-ID:  <201610291847.u9TIlSUt028315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Oct 29 18:47:28 2016
New Revision: 308095
URL: https://svnweb.freebsd.org/changeset/base/308095

Log:
  Add one more use of unlock_vp().
  
  Discussed with:	kib
  X-MFC With:	r308094

Modified:
  head/sys/vm/vm_fault.c

Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c	Sat Oct 29 18:03:29 2016	(r308094)
+++ head/sys/vm/vm_fault.c	Sat Oct 29 18:47:28 2016	(r308095)
@@ -328,8 +328,7 @@ RetryFault:;
 			growstack = FALSE;
 			goto RetryFault;
 		}
-		if (fs.vp != NULL)
-			vput(fs.vp);
+		unlock_vp(&fs);
 		return (result);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610291847.u9TIlSUt028315>