diff options
author | msmith <msmith@FreeBSD.org> | 1998-03-06 09:46:52 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-03-06 09:46:52 +0000 |
commit | 4df44c447b04d17496dd7701a416a8dc8a400637 (patch) | |
tree | e4fe9f7d2d778e100fa475fe14e16b0b3ffe229b /sys/nfsclient/nfs_bio.c | |
parent | ea126748df408b251893fa0494eef1a95f744730 (diff) | |
download | FreeBSD-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/nfsclient/nfs_bio.c')
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 04d8288..a03b91b 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/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 |