From 651ae11e2ff4890e0e41235ba168f925886e837d Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Fri, 6 Mar 1998 09:46:52 +0000 Subject: Trivial filesystem getpages/putpages implementations, set the second. These should be considered the first steps in a work-in-progress. Submitted by: Terry Lambert --- sys/nfs/nfs_bio.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'sys/nfs/nfs_bio.c') 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 -- cgit v1.2.3