aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAkira Fujita <a-fujita@rs.jp.nec.com>2012-05-28 14:19:25 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-05-28 14:19:25 -0400
commit9d99012ff26380a09092a9fddbb6e5f996dc631f (patch)
tree8feeb9279c718d176fd7cb54594e5226da099fda /fs
parent7e84b6216467b84cd332c8e567bf5aa113fd2f38 (diff)
ext4: remove needs_recovery in ext4_mb_init()
needs_recovery in ext4_mb_init() is not used, remove it. Signed-off-by: Akira Fujita <a-fujita@rs.jp.ne.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/ext4.h2
-rw-r--r--fs/ext4/mballoc.c2
-rw-r--r--fs/ext4/super.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index d1e2735ac22f..511011a1e85d 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1948,7 +1948,7 @@ extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate);
1948/* mballoc.c */ 1948/* mballoc.c */
1949extern long ext4_mb_stats; 1949extern long ext4_mb_stats;
1950extern long ext4_mb_max_to_scan; 1950extern long ext4_mb_max_to_scan;
1951extern int ext4_mb_init(struct super_block *, int); 1951extern int ext4_mb_init(struct super_block *);
1952extern int ext4_mb_release(struct super_block *); 1952extern int ext4_mb_release(struct super_block *);
1953extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *, 1953extern ext4_fsblk_t ext4_mb_new_blocks(handle_t *,
1954 struct ext4_allocation_request *, int *); 1954 struct ext4_allocation_request *, int *);
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index ccb9c2f527d5..45cb31e8dd27 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2375,7 +2375,7 @@ static int ext4_groupinfo_create_slab(size_t size)
2375 return 0; 2375 return 0;
2376} 2376}
2377 2377
2378int ext4_mb_init(struct super_block *sb, int needs_recovery) 2378int ext4_mb_init(struct super_block *sb)
2379{ 2379{
2380 struct ext4_sb_info *sbi = EXT4_SB(sb); 2380 struct ext4_sb_info *sbi = EXT4_SB(sb);
2381 unsigned i, j; 2381 unsigned i, j;
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index d9466a508414..dbc9544c7087 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3768,7 +3768,7 @@ no_journal:
3768 } 3768 }
3769 3769
3770 ext4_ext_init(sb); 3770 ext4_ext_init(sb);
3771 err = ext4_mb_init(sb, needs_recovery); 3771 err = ext4_mb_init(sb);
3772 if (err) { 3772 if (err) {
3773 ext4_msg(sb, KERN_ERR, "failed to initialize mballoc (%d)", 3773 ext4_msg(sb, KERN_ERR, "failed to initialize mballoc (%d)",
3774 err); 3774 err);