Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2009 21:18:34 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192065 - head/sys/fs/nfsclient
Message-ID:  <200905132118.n4DLIYZY067678@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Wed May 13 21:18:34 2009
New Revision: 192065
URL: http://svn.freebsd.org/changeset/base/192065

Log:
  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)

Modified:
  head/sys/fs/nfsclient/nfs_clbio.c

Modified: head/sys/fs/nfsclient/nfs_clbio.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clbio.c	Wed May 13 21:01:10 2009	(r192064)
+++ head/sys/fs/nfsclient/nfs_clbio.c	Wed May 13 21:18:34 2009	(r192065)
@@ -306,7 +306,8 @@ ncl_getpages(struct vop_getpages_args *a
 			 * 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905132118.n4DLIYZY067678>