Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2015 16:40:40 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r281029 - stable/10/sys/vm
Message-ID:  <201504031640.t33GeeKX056498@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Fri Apr  3 16:40:39 2015
New Revision: 281029
URL: https://svnweb.freebsd.org/changeset/base/281029

Log:
  MFC r279720
    Correct a typo in vm_object_backing_scan() that originated in r254141.
    Specifically, change a lock acquire into a lock release.

Modified:
  stable/10/sys/vm/vm_object.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/vm/vm_object.c
==============================================================================
--- stable/10/sys/vm/vm_object.c	Fri Apr  3 15:47:48 2015	(r281028)
+++ stable/10/sys/vm/vm_object.c	Fri Apr  3 16:40:39 2015	(r281029)
@@ -1628,7 +1628,7 @@ vm_object_backing_scan(vm_object_t objec
 					p = next;
 					continue;
 				}
-				VM_OBJECT_WLOCK(backing_object);
+				VM_OBJECT_WUNLOCK(backing_object);
 				VM_OBJECT_WUNLOCK(object);
 				VM_WAIT;
 				VM_OBJECT_WLOCK(object);



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