summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2005-05-14 05:09:11 +0000
committerAlan Cox <alc@FreeBSD.org>2005-05-14 05:09:11 +0000
commit7daa3570e4485df3ae442c8f468f9b43b4cd88b0 (patch)
tree809b74b2034961828313df4088e32c0c2723caee /sys/kern/vfs_cluster.c
parent1bd8c187c0bedb136f2b78838c4d1fd684fa69bc (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 0903b8bb07f5..bdc6ecf38b16 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -515,9 +515,7 @@ cluster_callback(bp)
if (bp->b_ioflags & BIO_ERROR)
error = bp->b_error;
- VM_LOCK_GIANT();
pmap_qremove(trunc_page((vm_offset_t) bp->b_data), bp->b_npages);
- VM_UNLOCK_GIANT();
/*
* Move memory from the large cluster buffer into the component
* buffers and mark IO as done on these.