[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1274103704-11230-1-git-send-email-avagin@openvz.org>
Date: Mon, 17 May 2010 17:41:42 +0400
From: Andrey Vagin <avagin@...nvz.org>
To: Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, stable@...nel.org,
Oleg Nesterov <oleg@...sign.ru>,
Pavel Emelyanov <xemul@...nvz.org>,
Stanislaw Gruszka <sgruszka@...hat.com>,
Andrey Vagin <avagin@...nvz.org>
Subject: [PATCH 1/3] posix_timer: remove wrong comment
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@...nvz.org>
---
kernel/posix-timers.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
index 00d1fda..5555e7c 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -563,10 +563,6 @@ SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock,
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;
--
1.6.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists