diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2009-05-16 22:31:38 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2009-05-16 22:31:38 +0000 |
commit | ae5a5566ffec5b11a639b0013d46f5704a93d33c (patch) | |
tree | 95ca81c7af6e64ec63a9f3fe3dbc05cbacfe5f95 /sys/fs | |
parent | 7135ece058c80766190374796cb7da40f26ce700 (diff) | |
download | FreeBSD-src-ae5a5566ffec5b11a639b0013d46f5704a93d33c.zip FreeBSD-src-ae5a5566ffec5b11a639b0013d46f5704a93d33c.tar.gz |
Changed sys/fs/nfs_clbio.c in the same way Alan Cox changed
sys/nfsclient/nfs_bio.c for r192134, so that the sources stay
in sync.
Approved by: kib (mentor)
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nfsclient/nfs_clbio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/nfsclient/nfs_clbio.c b/sys/fs/nfsclient/nfs_clbio.c index 0eb30f9..ae06a88 100644 --- a/sys/fs/nfsclient/nfs_clbio.c +++ b/sys/fs/nfsclient/nfs_clbio.c @@ -313,9 +313,9 @@ ncl_getpages(struct vop_getpages_args *ap) * Read operation filled a partial page. */ m->valid = 0; - vm_page_set_validclean(m, 0, size - toff); - /* handled by vm_fault now */ - /* vm_page_zero_invalid(m, TRUE); */ + vm_page_set_valid(m, 0, size - toff); + KASSERT((m->dirty & vm_page_bits(0, size - toff)) == 0, + ("nfs_getpages: page %p is dirty", m)); } else { /* * Read operation was short. If no error occured |