[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU436-SMTP228CB486F46AAB9E0D66C6ED9350@phx.gbl>
Date: Mon, 26 Jan 2015 08:23:10 -0800
From: Jan Mrazek <email@...zamrazek.cz>
To: Theodore Ts'o <tytso@....edu>, linux-ext4@...r.kernel.org,
trivial@...nel.org
CC: Jiri Slaby <gep@...l.muni.cz>, Jan Mrazek <email@...zamrazek.cz>
Subject: [PATCH 1/1] Change of timer API
- init_timer changed to setup_timer
Signed-off-by: Jan Mrazek <email@...zamrazek.cz>
---
fs/ext4/super.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 496214d..fe3d48a 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3949,9 +3949,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
get_random_bytes(&sbi->s_next_generation, sizeof(u32));
spin_lock_init(&sbi->s_next_gen_lock);
- init_timer(&sbi->s_err_report);
- sbi->s_err_report.function = print_daily_error_info;
- sbi->s_err_report.data = (unsigned long) sb;
+ setup_timer(&sbi->s_err_report, print_daily_error_info,
+ (unsigned long) sb);
/* Register extent status tree shrinker */
if (ext4_es_register_shrinker(sbi))
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists