[PATCH correction^2] Re: 2.4.0test - uid_hash_find()

2000-10-08 Thread Dan Aloni
On Mon, 9 Oct 2000, Guest section DW wrote: > > -static inline struct user_struct *uid_hash_find(uid_t uid, unsigned int hashent) > > +static inline struct user_struct *uid_hash_find(unsigned short uid, unsigned int >hashent) > > Your labeling is confusing. linux.vanilla? linux-2.4.0-test9? > W

Re: [PATCH correction] Re: 2.4.0test - uid_hash_find()

2000-10-08 Thread Guest section DW
On Mon, Oct 09, 2000 at 01:45:46AM -0200, Dan Aloni wrote: > > I noticed I forgot a ; somewhere there. Here's the right patch: > > --- linux-2.4.0-test9/kernel/user.c Mon Oct 9 01:37:35 2000 > +++ linux.vanilla/kernel/user.c Sun Oct 8 22:33:55 2000 > @@ -51,22 +51,18 @@ > *up->pp

[PATCH correction] Re: 2.4.0test - uid_hash_find()

2000-10-08 Thread Dan Aloni
I noticed I forgot a ; somewhere there. Here's the right patch: --- linux-2.4.0-test9/kernel/user.c Mon Oct 9 01:37:35 2000 +++ linux.vanilla/kernel/user.c Sun Oct 8 22:33:55 2000 @@ -51,22 +51,18 @@ *up->pprev = up->next; } -static inline struct user_struct *uid_hash_find(uid_t

[PATCH] Re: 2.4.0test - uid_hash_find()

2000-10-08 Thread Dan Aloni
On Sun, 8 Oct 2000, Mitchell Blank Jr wrote: > Dan Aloni wrote: > > > > I've been touring around the kernel sources when I stumbled > > across the uid_hash_find() function (kernel/user.c): > > > > static inline struct user_struct *uid_hash_find(unsigned short uid, unsigned int >hashent) > > I

Re: 2.4.0test - uid_hash_find()

2000-10-08 Thread Mitchell Blank Jr
Dan Aloni wrote: > > I've been touring around the kernel sources when I stumbled > across the uid_hash_find() function (kernel/user.c): > > static inline struct user_struct *uid_hash_find(unsigned short uid, unsigned int >hashent) Is it just me, or should that be "uid_t" not "unsigned short"?

2.4.0test - uid_hash_find()

2000-10-08 Thread Dan Aloni
I've been touring around the kernel sources when I stumbled across the uid_hash_find() function (kernel/user.c): static inline struct user_struct *uid_hash_find(unsigned short uid, unsigned int hashent) { struct user_struct *up, *next; next = uidhash[hashent]; for (;;)