summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorAndrey Vagin <avagin@openvz.org>2010-05-24 21:15:33 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-05-27 22:38:15 +0200
commit45e0fffc8a7778282e6a1514a6ae3e7ae6545111 (patch)
tree0a1022d1af7372169ca2b5b269b548997e2bdd83 /kernel/cpu.c
parenthrtimer: Avoid double seqlock (diff)
downloadlinux-45e0fffc8a7778282e6a1514a6ae3e7ae6545111.tar.xz
linux-45e0fffc8a7778282e6a1514a6ae3e7ae6545111.zip
posix_timer: Fix error path in timer_create
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) [ tglx: fold the remove crappy comment patch into this ] Signed-off-by: Andrey Vagin <avagin@openvz.org> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: Pavel Emelyanov <xemul@openvz.org> Cc: <stable@kernel.org> Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions