aboutsummaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_bio.c
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-03-06 09:46:52 +0000
committerMike Smith <msmith@FreeBSD.org>1998-03-06 09:46:52 +0000
commit651ae11e2ff4890e0e41235ba168f925886e837d (patch)
treeb387dfbd018d018b128104dfc5cf22b879fbe435 /sys/nfs/nfs_bio.c
parent2840666108b12077df005b9a68eee3e890cd7d8c (diff)
downloadsrc-651ae11e2ff4890e0e41235ba168f925886e837d.tar.gz
src-651ae11e2ff4890e0e41235ba168f925886e837d.zip
Trivial filesystem getpages/putpages implementations, set the second.
These should be considered the first steps in a work-in-progress. Submitted by: Terry Lambert <terry@freebsd.org>
Notes
Notes: svn path=/head/; revision=34096
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r--sys/nfs/nfs_bio.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c
index 04d82882272e..a03b91b9cbcf 100644
--- a/sys/nfs/nfs_bio.c
+++ b/sys/nfs/nfs_bio.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_bio.c 8.9 (Berkeley) 3/30/95
- * $Id: nfs_bio.c,v 1.49 1998/02/04 22:33:13 eivind Exp $
+ * $Id: nfs_bio.c,v 1.50 1998/02/06 12:13:55 eivind Exp $
*/
@@ -115,6 +115,21 @@ nfs_getpages(ap)
return 0;
}
+
+/*
+ * put page routine
+ *
+ * XXX By default, wimp out... note that a_offset is ignored (and always
+ * XXX has been).
+ */
+int
+nfs_putpages(ap)
+ struct vop_putpages_args *ap;
+{
+ return vnode_pager_generic_putpages(ap->a_vp, ap->a_m, ap->a_count,
+ ap->a_sync, ap->a_rtvals);
+}
+
/*
* Vnode op for read using bio
* Any similarity to readip() is purely coincidental