diff options
author | dyson <dyson@FreeBSD.org> | 1995-09-04 00:21:16 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1995-09-04 00:21:16 +0000 |
commit | 251a16a6af0b7f6463e6619864a452faa67e82da (patch) | |
tree | 465f75274afdb8df4c9cc8c1841dd1321fa64e04 /sys/miscfs/specfs | |
parent | 864d8a877ca6e1f78bb3b404658a992fa3bb2bdc (diff) | |
download | FreeBSD-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/miscfs/specfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 8e17858..1b27852 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)spec_vnops.c 8.6 (Berkeley) 4/9/94 - * $Id: spec_vnops.c,v 1.12 1995/07/08 04:03:12 davidg Exp $ + * $Id: spec_vnops.c,v 1.13 1995/07/29 11:40:31 bde Exp $ */ #include <sys/param.h> @@ -498,6 +498,8 @@ spec_bmap(ap) daddr_t a_bn; struct vnode **a_vpp; daddr_t *a_bnp; + int *a_runp; + int *a_runb; } */ *ap; { @@ -507,6 +509,8 @@ spec_bmap(ap) *ap->a_bnp = ap->a_bn; if (ap->a_runp != NULL) *ap->a_runp = 0; + if (ap->a_runb != NULL) + *ap->a_runb = 0; return (0); } |