summaryrefslogtreecommitdiff
path: root/kernel/user.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-05-10 11:24:27 +0800
committerIngo Molnar <mingo@elte.hu>2010-05-10 08:48:39 +0200
commitaf507ae8a0512a83728b17d8f8c5fa1561669f50 (patch)
tree548f0ae239f62daee79d5656c6dcb791fecf7e1a /kernel/user.c
parent19379b11819efc1fc3b602e64f7e7531050aaddb (diff)
downloadlwn-af507ae8a0512a83728b17d8f8c5fa1561669f50.tar.gz
lwn-af507ae8a0512a83728b17d8f8c5fa1561669f50.zip
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/user.c')
-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)
struct hlist_head *hashent = uidhashentry(ns, uid);
struct user_struct *up, *new;
- /* Make uid_hash_find() + uid_hash_insert() atomic. */
spin_lock_irq(&uidhash_lock);
up = uid_hash_find(uid, hashent);
spin_unlock_irq(&uidhash_lock);