summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_bio.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-03-06 09:46:52 +0000
committermsmith <msmith@FreeBSD.org>1998-03-06 09:46:52 +0000
commit4df44c447b04d17496dd7701a416a8dc8a400637 (patch)
treee4fe9f7d2d778e100fa475fe14e16b0b3ffe229b /sys/nfs/nfs_bio.c
parentea126748df408b251893fa0494eef1a95f744730 (diff)
downloadFreeBSD-src-4df44c447b04d17496dd7701a416a8dc8a400637.zip
FreeBSD-src-4df44c447b04d17496dd7701a416a8dc8a400637.tar.gz
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>
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 04d8288..a03b91b 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
OpenPOWER on IntegriCloud