diff options
author | alc <alc@FreeBSD.org> | 2009-05-31 20:18:02 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2009-05-31 20:18:02 +0000 |
commit | 5e539a33da89680845c8771dff661d6327bb9107 (patch) | |
tree | 8d9b27d1247c68dafd51f314f9a1718e581c4475 /sys/nfsclient | |
parent | baf33bb569ed0075216a68dc4108772e06c58420 (diff) | |
download | FreeBSD-src-5e539a33da89680845c8771dff661d6327bb9107.zip FreeBSD-src-5e539a33da89680845c8771dff661d6327bb9107.tar.gz |
nfs_write() can use the recently introduced vfs_bio_set_valid() instead of
vfs_bio_set_validclean(), thereby avoiding the page queues lock.
Garbage collect vfs_bio_set_validclean(). Nothing uses it any longer.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 3c12ea0..ae8a05d 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -1200,7 +1200,7 @@ again: bp->b_dirtyoff = on; bp->b_dirtyend = on + n; } - vfs_bio_set_validclean(bp, on, n); + vfs_bio_set_valid(bp, on, n); } /* |