]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] init timers under fs/
authorAndrew Morton <akpm@digeo.com>
Tue, 5 Nov 2002 12:50:32 +0000 (04:50 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 5 Nov 2002 12:50:32 +0000 (04:50 -0800)
There's only the one, in XFS.

fs/xfs/pagebuf/page_buf.c

index 64633ee69ac55d68a4d490faf9eb0a1558ef91f9..7923d01100fb3c589109151390326650d2cd3fe7 100644 (file)
@@ -1671,7 +1671,7 @@ pagebuf_daemon(
        page_buf_t              *pb;
        struct list_head        *curr, *next, tmp;
        struct timer_list       pb_daemon_timer =
-               { .function = (timeout_fn)pagebuf_daemon_wakeup };
+               TIMER_INITIALIZER((timeout_fn)pagebuf_daemon_wakeup, 0, 0);
 
        /*  Set up the thread  */
        daemonize();