Re: [PATCH] timers: fs/

Petr Vandrovec (VANDROVE@vc.cvut.cz)
Wed, 13 Nov 2002 13:47:18 +0100


On 13 Nov 02 at 3:35, Linux Kernel Mailing List wrote:

> ChangeSet 1.843, 2002/11/12 19:35:24-08:00, akpm@digeo.com
>
> [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
vandrove@vc.cvut.cz

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/