Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2015 04:18:40 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279720 - head/sys/vm
Message-ID:  <201503070418.t274Iejv089692@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sat Mar  7 04:18:40 2015
New Revision: 279720
URL: https://svnweb.freebsd.org/changeset/base/279720

Log:
  Correct a typo in vm_object_backing_scan() that originated in r254141.
  Specifically, change a lock acquire into a lock release.
  
  MFC after:	3 days
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/vm/vm_object.c

Modified: head/sys/vm/vm_object.c
==============================================================================
--- head/sys/vm/vm_object.c	Sat Mar  7 03:48:32 2015	(r279719)
+++ head/sys/vm/vm_object.c	Sat Mar  7 04:18:40 2015	(r279720)
@@ -1626,7 +1626,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?201503070418.t274Iejv089692>