aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/super.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 74c5f53595fb..95b388cae0ab 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3915,9 +3915,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
3915 get_random_bytes(&sbi->s_next_generation, sizeof(u32)); 3915 get_random_bytes(&sbi->s_next_generation, sizeof(u32));
3916 spin_lock_init(&sbi->s_next_gen_lock); 3916 spin_lock_init(&sbi->s_next_gen_lock);
3917 3917
3918 init_timer(&sbi->s_err_report); 3918 setup_timer(&sbi->s_err_report, print_daily_error_info,
3919 sbi->s_err_report.function = print_daily_error_info; 3919 (unsigned long) sb);
3920 sbi->s_err_report.data = (unsigned long) sb;
3921 3920
3922 /* Register extent status tree shrinker */ 3921 /* Register extent status tree shrinker */
3923 if (ext4_es_register_shrinker(sbi)) 3922 if (ext4_es_register_shrinker(sbi))