Re: [PATCH 2/3] posix_timer: fix error path in timer_create

From: Stanislaw Gruszka
Date: Tue May 18 2010 - 02:48:16 EST


On Mon, 17 May 2010 21:18:07 +0400
Andrey Vagin <avagin@xxxxxxxxxx> wrote:

> move CLOCK_DISPATCH(which_clock, timer_create, (new_timer)) after all
> posible EFAULT erros.
>
> *_timer_create may allocate/get resources.
> (for example posix_cpu_timer_create does get_task_struct)
>
> Signed-off-by: Andrey Vagin <avagin@xxxxxxxxxx>

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