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/fs | |
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/fs')
-rw-r--r-- | sys/fs/nfsclient/nfs_clbio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clbio.c b/sys/fs/nfsclient/nfs_clbio.c index 7b58297..78ae96c 100644 --- a/sys/fs/nfsclient/nfs_clbio.c +++ b/sys/fs/nfsclient/nfs_clbio.c @@ -1302,7 +1302,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); } /* |