Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70690
b: refs/heads/master
c: 40aeb40
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Oct 17, 2007
1 parent 08adc90 commit 349da94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1e7a4b1bb76f451991112f07a8723eea9d07aa6
refs/heads/master: 40aeb400f68090f92010920ddf284b672a1461b8
8 changes: 3 additions & 5 deletions trunk/kernel/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,17 @@ struct user_struct root_user = {
/*
* These routines must be called with the uidhash spinlock held!
*/
static inline void uid_hash_insert(struct user_struct *up,
struct hlist_head *hashent)
static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent)
{
hlist_add_head(&up->uidhash_node, hashent);
}

static inline void uid_hash_remove(struct user_struct *up)
static void uid_hash_remove(struct user_struct *up)
{
hlist_del_init(&up->uidhash_node);
}

static inline struct user_struct *uid_hash_find(uid_t uid,
struct hlist_head *hashent)
static struct user_struct *uid_hash_find(uid_t uid, struct hlist_head *hashent)
{
struct user_struct *user;
struct hlist_node *h;
Expand Down

0 comments on commit 349da94

Please sign in to comment.