summaryrefslogtreecommitdiffstats
path: root/sys/fs/fifofs
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/fs/fifofs
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/fs/fifofs')
-rw-r--r--sys/fs/fifofs/fifo_vnops.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c
index 0f4f34b..8291ebb 100644
--- a/sys/fs/fifofs/fifo_vnops.c
+++ b/sys/fs/fifofs/fifo_vnops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)fifo_vnops.c 8.2 (Berkeley) 1/4/94
- * $Id: fifo_vnops.c,v 1.8 1995/03/16 18:13:13 bde Exp $
+ * $Id: fifo_vnops.c,v 1.10 1995/08/06 16:14:21 jkh Exp $
*/
#include <sys/param.h>
@@ -362,6 +362,8 @@ fifo_bmap(ap)
daddr_t a_bn;
struct vnode **a_vpp;
daddr_t *a_bnp;
+ int *a_runp;
+ int *a_runb;
} */ *ap;
{
@@ -371,6 +373,8 @@ fifo_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);
}
OpenPOWER on IntegriCloud