From be66779edfcf909dbce47f35a1792639f2ce8c61 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 12 Feb 1997 15:35:18 +0000 Subject: 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(-) (limited to 'sys/gnu') diff --git a/sys/gnu/ext2fs/ext2_extern.h b/sys/gnu/ext2fs/ext2_extern.h index cbd06e9..3f97cba 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 50b006d..9bc80f8 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 cbd06e9..3f97cba 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 50b006d..9bc80f8 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; -- cgit v1.1