From 5afe6df6200e12b1839504b89dd29df8090f969b Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 12 Feb 1997 15:35:18 +0000 Subject: [PATCH] Fixed type mismatches. i_spare[N] in ufs/inode.h changed from long to int. Change ext2fs to match. We probably already assume that ints have >= 32 bits. --- sys/gnu/ext2fs/ext2_extern.h | 4 ++-- sys/gnu/ext2fs/ext2_linux_balloc.c | 4 ++-- sys/gnu/fs/ext2fs/ext2_extern.h | 4 ++-- sys/gnu/fs/ext2fs/ext2_linux_balloc.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/gnu/ext2fs/ext2_extern.h b/sys/gnu/ext2fs/ext2_extern.h index cbd06e90756..3f97cba644a 100644 --- a/sys/gnu/ext2fs/ext2_extern.h +++ b/sys/gnu/ext2fs/ext2_extern.h @@ -82,8 +82,8 @@ void ext2_discard_prealloc __P((struct inode *)); int ext2_inactive __P((struct vop_inactive_args *)); int ll_w_block __P((struct buf *, int )); int ext2_new_block __P ((struct mount * mp, unsigned long goal, - long * prealloc_count, - long * prealloc_block)); + int * prealloc_count, + int * prealloc_block)); ino_t ext2_new_inode __P ((const struct inode * dir, int mode)); unsigned long ext2_count_free __P((struct buf *map, unsigned int numchars)); void ext2_free_blocks (struct mount * mp, unsigned long block, diff --git a/sys/gnu/ext2fs/ext2_linux_balloc.c b/sys/gnu/ext2fs/ext2_linux_balloc.c index 50b006d7361..9bc80f89311 100644 --- a/sys/gnu/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/ext2fs/ext2_linux_balloc.c @@ -244,8 +244,8 @@ void ext2_free_blocks (struct mount * mp, unsigned long block, * bitmap, and then for any free bit if that fails. */ int ext2_new_block (struct mount * mp, unsigned long goal, - long * prealloc_count, - long * prealloc_block) + int * prealloc_count, + int * prealloc_block) { struct ext2_sb_info *sb = VFSTOUFS(mp)->um_e2fs; struct buffer_head * bh; diff --git a/sys/gnu/fs/ext2fs/ext2_extern.h b/sys/gnu/fs/ext2fs/ext2_extern.h index cbd06e90756..3f97cba644a 100644 --- a/sys/gnu/fs/ext2fs/ext2_extern.h +++ b/sys/gnu/fs/ext2fs/ext2_extern.h @@ -82,8 +82,8 @@ void ext2_discard_prealloc __P((struct inode *)); int ext2_inactive __P((struct vop_inactive_args *)); int ll_w_block __P((struct buf *, int )); int ext2_new_block __P ((struct mount * mp, unsigned long goal, - long * prealloc_count, - long * prealloc_block)); + int * prealloc_count, + int * prealloc_block)); ino_t ext2_new_inode __P ((const struct inode * dir, int mode)); unsigned long ext2_count_free __P((struct buf *map, unsigned int numchars)); void ext2_free_blocks (struct mount * mp, unsigned long block, diff --git a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c index 50b006d7361..9bc80f89311 100644 --- a/sys/gnu/fs/ext2fs/ext2_linux_balloc.c +++ b/sys/gnu/fs/ext2fs/ext2_linux_balloc.c @@ -244,8 +244,8 @@ void ext2_free_blocks (struct mount * mp, unsigned long block, * bitmap, and then for any free bit if that fails. */ int ext2_new_block (struct mount * mp, unsigned long goal, - long * prealloc_count, - long * prealloc_block) + int * prealloc_count, + int * prealloc_block) { struct ext2_sb_info *sb = VFSTOUFS(mp)->um_e2fs; struct buffer_head * bh;