* [PATCH] Fix bad reference in comment inside __sigqueue_alloc
@ 2008-08-21 9:01 Pavel Emelyanov
0 siblings, 0 replies; only message in thread
From: Pavel Emelyanov @ 2008-08-21 9:01 UTC (permalink / raw)
To: Andrew Morton; +Cc: Oleg Nesterov, Linux Kernel Mailing List
The comment references the switch_user() function, which
doesn't exist. The real function this code is synchronizing
with is the switch_uid() one.
Can save some time for tags-jumping/grepping :)
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
---
diff --git a/kernel/signal.c b/kernel/signal.c
index e661b01..bd880ed 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -183,7 +183,7 @@ static struct sigqueue *__sigqueue_alloc(struct task_struct *t, gfp_t flags,
struct user_struct *user;
/*
- * In order to avoid problems with "switch_user()", we want to make
+ * In order to avoid problems with "switch_uid()", we want to make
* sure that the compiler doesn't re-load "t->user"
*/
user = t->user;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-21 9:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 9:01 [PATCH] Fix bad reference in comment inside __sigqueue_alloc Pavel Emelyanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox