summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-09-04 00:21:16 +0000
committerdyson <dyson@FreeBSD.org>1995-09-04 00:21:16 +0000
commit251a16a6af0b7f6463e6619864a452faa67e82da (patch)
tree465f75274afdb8df4c9cc8c1841dd1321fa64e04 /sys/nfs
parent864d8a877ca6e1f78bb3b404658a992fa3bb2bdc (diff)
downloadFreeBSD-src-251a16a6af0b7f6463e6619864a452faa67e82da.zip
FreeBSD-src-251a16a6af0b7f6463e6619864a452faa67e82da.tar.gz
Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count
for VOP_BMAP. Updated affected filesystems...
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_vnops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c
index 1a08ca2..5b25d30 100644
--- a/sys/nfs/nfs_vnops.c
+++ b/sys/nfs/nfs_vnops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vnops.c 8.5 (Berkeley) 2/13/94
- * $Id: nfs_vnops.c,v 1.22 1995/07/24 16:38:05 dfr Exp $
+ * $Id: nfs_vnops.c,v 1.23 1995/08/01 18:50:59 davidg Exp $
*/
/*
@@ -2600,6 +2600,7 @@ nfs_bmap(ap)
struct vnode **a_vpp;
daddr_t *a_bnp;
int *a_runp;
+ int *a_runb;
} */ *ap;
{
register struct vnode *vp = ap->a_vp;
@@ -2610,6 +2611,8 @@ nfs_bmap(ap)
*ap->a_bnp = ap->a_bn * btodb(vp->v_mount->mnt_stat.f_iosize);
if (ap->a_runp != NULL)
*ap->a_runp = 0;
+ if (ap->a_runb != NULL)
+ *ap->a_runb = 0;
return (0);
}
OpenPOWER on IntegriCloud