summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2009-05-13 21:18:34 +0000
committerrmacklem <rmacklem@FreeBSD.org>2009-05-13 21:18:34 +0000
commitb65a53d513d2f22731b330632e536c3333f9eedf (patch)
treed39d3afc0a5f780dc3a8671406cecca58eab4b5a /sys
parent6432689ead36e7f45edff2fa2fc770a30b5e5a6e (diff)
downloadFreeBSD-src-b65a53d513d2f22731b330632e536c3333f9eedf.zip
FreeBSD-src-b65a53d513d2f22731b330632e536c3333f9eedf.tar.gz
Apply a one line change to nfs_clbio.c (which is largely a copy
of sys/nfsclient/nfs_bio.c) to track the change recently committed by acl for nfs_bio.c. Approved by: kib (mentor)
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/nfsclient/nfs_clbio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clbio.c b/sys/fs/nfsclient/nfs_clbio.c
index bae44ed..0eb30f9 100644
--- a/sys/fs/nfsclient/nfs_clbio.c
+++ b/sys/fs/nfsclient/nfs_clbio.c
@@ -306,7 +306,8 @@ ncl_getpages(struct vop_getpages_args *ap)
* Read operation filled an entire page
*/
m->valid = VM_PAGE_BITS_ALL;
- vm_page_undirty(m);
+ KASSERT(m->dirty == 0,
+ ("nfs_getpages: page %p is dirty", m));
} else if (size > toff) {
/*
* Read operation filled a partial page.
OpenPOWER on IntegriCloud