android_kernel_xiaomi_sm8350/include/linux/sunrpc
Jeff Layton 0113ab3464 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>
2008-02-01 16:42:15 -05:00
..
auth_gss.h
auth.h
cache.h
clnt.h
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h
rpc_pipe_fs.h
rpc_rdma.h
sched.h
stats.h
svc_rdma.h
svc_xprt.h
svc.h
svcauth_gss.h
svcauth.h
svcsock.h
timer.h
types.h
xdr.h
xprt.h
xprtrdma.h
xprtsock.h