Skip to contentSkip to conversation

sched: Remove a bogus comment

PATCH In review Li Zefan 1 participant 2 messages May 10, 2010

lore
Share & tools
lore

Li Zefan

author
#0 lore raw

PATCH 1/1 sched: Remove a bogus comment

This comment should have been removed together with uids_mutex when removing user sched.

---
 kernel/user.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/user.c +0 -1
index 8e1c8c0..7e72614 100644
@@ -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);
Signature · 1 line
1.6.3
#1 lore raw

[tip:sched/core] sched: Remove a stale comment

Commit-ID:  af507ae8a0512a83728b17d8f8c5fa1561669f50
Gitweb:     http://git.kernel.org/tip/af507ae8a0512a83728b17d8f8c5fa1561669f50
Author:     Li Zefan <[email protected]>
AuthorDate: Mon, 10 May 2010 11:24:27 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 10 May 2010 08:48:39 +0200

sched: Remove a stale comment

This comment should have been removed together with uids_mutex when removing user sched.

Cc Peter Zijlstra <[email protected]>
Cc Dhaval Giani <[email protected]>

LKML-Reference: <[email protected]>

---
 kernel/user.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/user.c +0 -1
index 8e1c8c0..7e72614 100644
@@ -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);