aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-05-09 23:24:27 -0400
committerIngo Molnar <mingo@elte.hu>2010-05-10 02:48:39 -0400
commitaf507ae8a0512a83728b17d8f8c5fa1561669f50 (patch)
tree548f0ae239f62daee79d5656c6dcb791fecf7e1a /kernel
parent19379b11819efc1fc3b602e64f7e7531050aaddb (diff)
sched: Remove a stale comment
This comment should have been removed together with uids_mutex when removing user sched. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Dhaval Giani <dhaval.giani@gmail.com> LKML-Reference: <4BE77C6B.5010402@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/user.c b/kernel/user.c
index 8e1c8c0a496c..7e72614b736d 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -136,7 +136,6 @@ struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid)
136 struct hlist_head *hashent = uidhashentry(ns, uid); 136 struct hlist_head *hashent = uidhashentry(ns, uid);
137 struct user_struct *up, *new; 137 struct user_struct *up, *new;
138 138
139 /* Make uid_hash_find() + uid_hash_insert() atomic. */
140 spin_lock_irq(&uidhash_lock); 139 spin_lock_irq(&uidhash_lock);
141 up = uid_hash_find(uid, hashent); 140 up = uid_hash_find(uid, hashent);
142 spin_unlock_irq(&uidhash_lock); 141 spin_unlock_irq(&uidhash_lock);