On 13 Nov 02 at 3:35, Linux Kernel Mailing List wrote:
> 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.c b/fs/ncpfs/inode.c
> --- a/fs/ncpfs/inode.c Tue Nov 12 20:06:32 2002
> +++ b/fs/ncpfs/inode.c Tue Nov 12 20:06:32 2002
> @@ -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]