diff options
author | Andrey Vagin <avagin@openvz.org> | 2010-07-21 00:23:14 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-07-23 15:08:12 +0200 |
commit | 2b08de0073a5697cf84d6f448d6dbc6cf02fc6b5 (patch) | |
tree | 79188eeb1dc9e5a269d999c8afe6f01292c05682 /kernel/acct.c | |
parent | timer: Added usleep[_range] timer (diff) | |
download | linux-2b08de0073a5697cf84d6f448d6dbc6cf02fc6b5.tar.xz linux-2b08de0073a5697cf84d6f448d6dbc6cf02fc6b5.zip |
posix_timer: Move copy_to_user(created_timer_id) down in timer_create()
According to Oleg Nesterov:
We can move copy_to_user(created_timer_id) down after
"if (timer_event_spec)" block too. (but before CLOCK_DISPATCH(),
of course).
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions