Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 10:37:56 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r310907 - head/sys/vm
Message-ID:  <201612311037.uBVAbuCB028143@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Sat Dec 31 10:37:56 2016
New Revision: 310907
URL: https://svnweb.freebsd.org/changeset/base/310907

Log:
  Use vrefact in vnode_pager_alloc.

Modified:
  head/sys/vm/vnode_pager.c

Modified: head/sys/vm/vnode_pager.c
==============================================================================
--- head/sys/vm/vnode_pager.c	Sat Dec 31 10:37:50 2016	(r310906)
+++ head/sys/vm/vnode_pager.c	Sat Dec 31 10:37:56 2016	(r310907)
@@ -265,7 +265,7 @@ retry:
 #endif
 		VM_OBJECT_WUNLOCK(object);
 	}
-	vref(vp);
+	vrefact(vp);
 	return (object);
 }
 



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