diff options
author | bde <bde@FreeBSD.org> | 1997-02-12 15:35:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-02-12 15:35:18 +0000 |
commit | be66779edfcf909dbce47f35a1792639f2ce8c61 (patch) | |
tree | 2a8a04180f0343881411b9bbe28281c66c911e8f /sys/gnu | |
parent | 23e792be1c1ea901d9cbcad586d9153768daca0e (diff) | |
download | FreeBSD-src-be66779edfcf909dbce47f35a1792639f2ce8c61.zip FreeBSD-src-be66779edfcf909dbce47f35a1792639f2ce8c61.tar.gz |
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.
Diffstat (limited to 'sys/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_extern.h | 4 | ||||
-rw-r--r-- | sys/gnu/ext2fs/ext2_linux_balloc.c | 4 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_extern.h | 4 | ||||
-rw-r--r-- | 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 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; |