linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Change of timer API
@ 2015-01-26 16:23 Jan Mrazek
  2015-01-26 19:46 ` [1/1] " Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Mrazek @ 2015-01-26 16:23 UTC (permalink / raw)
  To: Theodore Ts'o, linux-ext4, trivial; +Cc: Jiri Slaby, Jan Mrazek

- init_timer changed to setup_timer

Signed-off-by: Jan Mrazek <email@honzamrazek.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [1/1] Change of timer API
  2015-01-26 16:23 [PATCH 1/1] Change of timer API Jan Mrazek
@ 2015-01-26 19:46 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2015-01-26 19:46 UTC (permalink / raw)
  To: Jan Mrazek; +Cc: linux-ext4, trivial, Jiri Slaby

On Mon, Jan 26, 2015 at 08:23:10AM -0800, Jan Mrazek wrote:
> - init_timer changed to setup_timer
> 
> Signed-off-by: Jan Mrazek <email@honzamrazek.cz>

Applied, thanks.

					- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-26 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-26 16:23 [PATCH 1/1] Change of timer API Jan Mrazek
2015-01-26 19:46 ` [1/1] " Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).