aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorJan Mrazek <email@honzamrazek.cz>2015-01-26 14:42:31 -0500
committerTheodore Ts'o <tytso@mit.edu>2015-01-26 14:42:31 -0500
commit04ecddb73dd83d1094a904b8d03c57880998daee (patch)
tree2d67b4e4940287245e77ab4e6c7f38f0c3a6f381 /fs/ext4
parent3edc18d84540b94c0eba9226d01a8cbe4c162b55 (diff)
ext4: change to use setup_timer() instead of init_timer()
Signed-off-by: Jan Mrazek <email@honzamrazek.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
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))