forked from Minki/linux
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>
This commit is contained in:
parent
19379b1181
commit
af507ae8a0
@ -136,7 +136,6 @@ struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid)
|
|||||||
struct hlist_head *hashent = uidhashentry(ns, uid);
|
struct hlist_head *hashent = uidhashentry(ns, uid);
|
||||||
struct user_struct *up, *new;
|
struct user_struct *up, *new;
|
||||||
|
|
||||||
/* Make uid_hash_find() + uid_hash_insert() atomic. */
|
|
||||||
spin_lock_irq(&uidhash_lock);
|
spin_lock_irq(&uidhash_lock);
|
||||||
up = uid_hash_find(uid, hashent);
|
up = uid_hash_find(uid, hashent);
|
||||||
spin_unlock_irq(&uidhash_lock);
|
spin_unlock_irq(&uidhash_lock);
|
||||||
|
Loading…
Reference in New Issue
Block a user