svn commit: r308095 - head/sys/vm

Mark Johnston markj at FreeBSD.org
Sat Oct 29 18:47:29 UTC 2016


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);
 	}
 


More information about the svn-src-all mailing list