svn commit: r235983 - stable/9/sys/vm
Konstantin Belousov
kib at FreeBSD.org
Fri May 25 08:56:00 UTC 2012
Author: kib
Date: Fri May 25 08:55:59 2012
New Revision: 235983
URL: http://svn.freebsd.org/changeset/base/235983
Log:
MFC r235603:
Do not double-reference the found vm object in cdev_pager_lookup().
vm_pager_object_lookup() already referenced the object.
Modified:
stable/9/sys/vm/device_pager.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/vm/device_pager.c
==============================================================================
--- stable/9/sys/vm/device_pager.c Fri May 25 08:30:09 2012 (r235982)
+++ stable/9/sys/vm/device_pager.c Fri May 25 08:55:59 2012 (r235983)
@@ -102,7 +102,6 @@ cdev_pager_lookup(void *handle)
mtx_lock(&dev_pager_mtx);
object = vm_pager_object_lookup(&dev_pager_object_list, handle);
- vm_object_reference(object);
mtx_unlock(&dev_pager_mtx);
return (object);
}
More information about the svn-src-stable-9
mailing list