summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/ext2fs/ext2_extern.h4
-rw-r--r--sys/gnu/ext2fs/ext2_linux_balloc.c4
-rw-r--r--sys/gnu/fs/ext2fs/ext2_extern.h4
-rw-r--r--sys/gnu/fs/ext2fs/ext2_linux_balloc.c4
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;
OpenPOWER on IntegriCloud