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.
This commit is contained in:
parent
63f50488b0
commit
5afe6df620
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22598
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user