* + posix_timer-remove-wrong-comment.patch added to -mm tree
@ 2010-05-20 19:32 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-05-20 19:32 UTC (permalink / raw)
To: mm-commits; +Cc: avagin, oleg, sgruszka, tglx, xemul
The patch titled
posix_timer: remove wrong comment
has been added to the -mm tree. Its filename is
posix_timer-remove-wrong-comment.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: posix_timer: remove wrong comment
From: Andrey Vagin <avagin@openvz.org>
Currently "The next step is hard to back out if there is an error."
comment is not right, release_posix_timer() does put_pid().
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Andrey Vagin <avagin@openvz.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
kernel/posix-timers.c | 4 ----
1 file changed, 4 deletions(-)
diff -puN kernel/posix-timers.c~posix_timer-remove-wrong-comment kernel/posix-timers.c
--- a/kernel/posix-timers.c~posix_timer-remove-wrong-comment
+++ a/kernel/posix-timers.c
@@ -563,10 +563,6 @@ SYSCALL_DEFINE3(timer_create, const cloc
if (error)
goto out;
- /*
- * return the timer_id now. The next step is hard to
- * back out if there is an error.
- */
if (copy_to_user(created_timer_id,
&new_timer_id, sizeof (new_timer_id))) {
error = -EFAULT;
_
Patches currently in -mm which might be from avagin@openvz.org are
posix_timer-remove-wrong-comment.patch
posix_timer-fix-error-path-in-timer_create.patch
posix_timer-move-copy_to_usercreated_timer_id-down-in-timer_create.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-20 19:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 19:32 + posix_timer-remove-wrong-comment.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox