diff options
author | alc <alc@FreeBSD.org> | 2006-10-22 04:28:14 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2006-10-22 04:28:14 +0000 |
commit | cbcb760109a202fb847f48aa942a8b84b1e85015 (patch) | |
tree | 4eda40daa4f02d9dd3c07a7a5c1c6363ac1f7f37 /sys/kern/vfs_cluster.c | |
parent | ab1a7ca9a2ebaf9bec6c13a545bd4c209c969ee7 (diff) | |
download | FreeBSD-src-cbcb760109a202fb847f48aa942a8b84b1e85015.zip FreeBSD-src-cbcb760109a202fb847f48aa942a8b84b1e85015.tar.gz |
Replace PG_BUSY with VPO_BUSY. In other words, changes to the page's
busy flag, i.e., VPO_BUSY, are now synchronized by the per-vm object
lock instead of the global page queues lock.
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r-- | sys/kern/vfs_cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 4c2cfaf..1036629 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -911,7 +911,7 @@ cluster_wbuild(vp, size, start_lbn, len) if (i != 0) { /* if not first buffer */ for (j = 0; j < tbp->b_npages; j += 1) { m = tbp->b_pages[j]; - if (m->flags & PG_BUSY) { + if (m->oflags & VPO_BUSY) { VM_OBJECT_UNLOCK( tbp->b_object); bqrelse(tbp); |