summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pager.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2013-02-21 21:54:53 +0000
committerattilio <attilio@FreeBSD.org>2013-02-21 21:54:53 +0000
commit905e648d428b4f43651b120c5e7f4a9f46074308 (patch)
tree5ec5c4181bdee409366e113e2fb2016d8daa172b /sys/vm/vm_pager.c
parent81a3802a87e56d02e5acb78c627a9c3125941921 (diff)
downloadFreeBSD-src-905e648d428b4f43651b120c5e7f4a9f46074308.zip
FreeBSD-src-905e648d428b4f43651b120c5e7f4a9f46074308.tar.gz
Hide the details for the assertion for VM_OBJECT_LOCK operations.
Rename current VM_OBJECT_LOCK_ASSERT(foo, RA_WLOCKED) into VM_OBJECT_ASSERT_WLOCKED(foo) Sponsored by: EMC / Isilon storage division Requested by: alc
Diffstat (limited to 'sys/vm/vm_pager.c')
-rw-r--r--sys/vm/vm_pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c
index 9e4d76f..a991e41 100644
--- a/sys/vm/vm_pager.c
+++ b/sys/vm/vm_pager.c
@@ -249,7 +249,7 @@ vm_pager_deallocate(object)
vm_object_t object;
{
- VM_OBJECT_LOCK_ASSERT(object, RA_WLOCKED);
+ VM_OBJECT_ASSERT_WLOCKED(object);
(*pagertab[object->type]->pgo_dealloc) (object);
}
OpenPOWER on IntegriCloud