From: Jeff Layton Date: Tue, 29 Jan 2008 15:30:54 +0000 (-0500) Subject: SUNRPC: spin svc_rqst initialization to its own function X-Git-Tag: v2.6.25-rc1~1072^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0113ab34644649aceaac37ef4b7e5c7d5c183be3;p=pandora-kernel.git SUNRPC: spin svc_rqst initialization to its own function 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 allocations fail. Signed-off-by: Jeff Layton Reviewed-by: NeilBrown Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed