Re: [PATCH 1/4] SUNRPC: spin svc_rqst initialization to its own function

2008-01-18 Thread J. Bruce Fields
On Fri, Jan 18, 2008 at 04:48:44PM -0500, Jeff Layton wrote: > On Fri, 18 Jan 2008 15:59:43 -0500 > "J. Bruce Fields" <[EMAIL PROTECTED]> wrote: > > > On Mon, Jan 14, 2008 at 09:05:15AM -0500, Jeff Layton wrote: > > > Move the initialzation in __svc_create_thread that happens prior to > > > thread

Re: [PATCH 1/4] SUNRPC: spin svc_rqst initialization to its own function

2008-01-18 Thread Jeff Layton
On Fri, 18 Jan 2008 15:59:43 -0500 "J. Bruce Fields" <[EMAIL PROTECTED]> wrote: > On Mon, Jan 14, 2008 at 09:05:15AM -0500, Jeff Layton wrote: > > Move the initialzation in __svc_create_thread that happens prior to > > thread creation to a new function. Export the function to allow > > services to

Re: [PATCH 1/4] SUNRPC: spin svc_rqst initialization to its own function

2008-01-18 Thread J. Bruce Fields
On Mon, Jan 14, 2008 at 09:05:15AM -0500, Jeff Layton wrote: > Move the initialzation in __svc_create_thread that happens prior to > thread creation to a new function. Export the function to allow > services to have better control over the svc_rqst structs. > > Also rearrange the rqstp initializat

[PATCH 1/4] SUNRPC: spin svc_rqst initialization to its own function

2008-01-14 Thread Jeff Layton
Move the initialzation in __svc_create_thread that happens prior to thread creation to a new function. Export the function to allow services to have better control over the svc_rqst structs. Also rearrange the rqstp initialization to prevent NULL pointer dereferences in svc_exit_thread in case all