Skip to contentSkip to conversation

Fix bad reference in comment inside __sigqueue_alloc

PATCH New Pavel Emelyanov 1 participant 1 message Aug 21, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix bad reference in comment inside __sigqueue_alloc

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 :)

---

kernel/signal.c +1 -1
index e661b01..bd880ed 100644
@@ -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;