Commit 9d99012f authored by Akira Fujita's avatar Akira Fujita Committed by Theodore Ts'o

ext4: remove needs_recovery in ext4_mb_init()

needs_recovery in ext4_mb_init() is not used, remove it.
Signed-off-by: default avatarAkira Fujita <a-fujita@rs.jp.ne.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 7e84b621
...@@ -1948,7 +1948,7 @@ extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate); ...@@ -1948,7 +1948,7 @@ extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate);
/* mballoc.c */ /* mballoc.c */
extern long ext4_mb_stats; extern long ext4_mb_stats;
extern long ext4_mb_max_to_scan; extern long ext4_mb_max_to_scan;
extern int ext4_mb_init(struct super_block *, int); extern int ext4_mb_init(struct super_block *);
extern int ext4_mb_release(struct super_block *); extern int ext4_mb_release(struct super_block *);
extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *, extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *,
struct ext4_allocation_request *, int *); struct ext4_allocation_request *, int *);
......
...@@ -2375,7 +2375,7 @@ static int ext4_groupinfo_create_slab(size_t size) ...@@ -2375,7 +2375,7 @@ static int ext4_groupinfo_create_slab(size_t size)
return 0; return 0;
} }
int ext4_mb_init(struct super_block *sb, int needs_recovery) int ext4_mb_init(struct super_block *sb)
{ {
struct ext4_sb_info *sbi = EXT4_SB(sb); struct ext4_sb_info *sbi = EXT4_SB(sb);
unsigned i, j; unsigned i, j;
......
...@@ -3768,7 +3768,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) ...@@ -3768,7 +3768,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
} }
ext4_ext_init(sb); ext4_ext_init(sb);
err = ext4_mb_init(sb, needs_recovery); err = ext4_mb_init(sb);
if (err) { if (err) {
ext4_msg(sb, KERN_ERR, "failed to initialize mballoc (%d)", ext4_msg(sb, KERN_ERR, "failed to initialize mballoc (%d)",
err); err);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment