summaryrefslogtreecommitdiff
path: root/fs/lockd/host.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-01-29 18:30:54 +0300
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-02-02 00:42:15 +0300
commit0113ab34644649aceaac37ef4b7e5c7d5c183be3 (patch)
treeb0b1cde6e10b550bf4b9fcc523d855a6a1fade9d /fs/lockd/host.c
parent87d26ea7771ad637035e6bd5a2700d81ee9162da (diff)
downloadlinux-0113ab34644649aceaac37ef4b7e5c7d5c183be3.tar.xz
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 <jlayton@redhat.com> Reviewed-by: NeilBrown <neilb@suse.de> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/lockd/host.c')
0 files changed, 0 insertions, 0 deletions