aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
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 8e1c8c0a496..7e72614b736 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);