Messages in this thread Patch in this message | | | Date | Mon, 10 May 2010 11:24:27 +0800 | From | Li Zefan <> | Subject | [PATCH] sched: Remove a bogus comment |
| |
This comment should have been removed together with uids_mutex when removing user sched.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> --- kernel/user.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/kernel/user.c b/kernel/user.c index 8e1c8c0..7e72614 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); -- 1.6.3
| |