aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index d027749c3f02..37ef55213a1e 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -3299,7 +3299,6 @@ vfs_unbusy_pages(struct buf *bp)
obj = bp->b_bufobj->bo_object;
VM_OBJECT_LOCK(obj);
- vm_page_lock_queues();
for (i = 0; i < bp->b_npages; i++) {
m = bp->b_pages[i];
if (m == bogus_page) {
@@ -3313,7 +3312,6 @@ vfs_unbusy_pages(struct buf *bp)
vm_object_pip_subtract(obj, 1);
vm_page_io_finish(m);
}
- vm_page_unlock_queues();
vm_object_pip_wakeupn(obj, 0);
VM_OBJECT_UNLOCK(obj);
}