timers: fs/
Quoted 20 lines · Linux Kernel Mailing List
ChangeSet 1.843, 2002/11/12 19:35:24-08:00, [email protected]
[PATCH] timers:
fs/ncpfs has a dynamically allocated timer.
# This patch includes the following deltas:
# ChangeSet 1.842 -> 1.843 # fs/ncpfs/inode.c 1.33 -> 1.34#
inode.c | 1 + 1 files changed, 1 insertion(+)diff -Nru
a/fs/ncpfs/inode.cb/fs/ncpfs/inode.c
fs/ncpfs/inode.c Tue Nov 12 20:06:32 2002 line 578
Quoted 7 lines
fs/ncpfs/inode.c Tue Nov 12 20:06:32 2002 +1
-0@@ -572,6 +572,7 @@ } else { INIT_WORK(&server->rcv.tq, ncpdgram_rcv_proc, server); INIT_WORK(&server->timeout_tq, ncpdgram_timeout_proc, server); + init_timer(&server->timeout_tm); server->timeout_tm.data = (unsigned long)server; server->timeout_tm.function = ncpdgram_timeout_call; }
Are you sure that timer is not already initialized, say at line 554 of fs/ncpfs/inode.c ?
Thanks,
Petr Vandrovec [email protected]