summaryrefslogtreecommitdiffstats
path: root/sys/cddl
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-09-13 19:47:09 +0000
committerpjd <pjd@FreeBSD.org>2010-09-13 19:47:09 +0000
commit7766ec39d496d5f467624ce957fb8cbc33958626 (patch)
treea4e90e9f1f7b315d3b413746fc77ccad26d5f4d5 /sys/cddl
parent3ed6eac561ccce2958e668867ea38fd005bc635b (diff)
downloadFreeBSD-src-7766ec39d496d5f467624ce957fb8cbc33958626.zip
FreeBSD-src-7766ec39d496d5f467624ce957fb8cbc33958626.tar.gz
Remove the page queues lock around vm_page_undirty() - it is no longer needed.
Reviewed by: alc
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
index 180ac4f..0779a4b 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
@@ -326,9 +326,7 @@ page_lookup(vnode_t *vp, int64_t start, int64_t off, int64_t nbytes)
if (vm_page_sleep_if_busy(pp, FALSE, "zfsmwb"))
continue;
vm_page_busy(pp);
- vm_page_lock_queues();
vm_page_undirty(pp);
- vm_page_unlock_queues();
} else {
if (__predict_false(obj->cache != NULL)) {
vm_page_cache_free(obj, OFF_TO_IDX(start),
OpenPOWER on IntegriCloud