linux_dsm_epyc7002/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 knfsd: allow cache_register to return error on failure 2008-02-01 16:42:05 -05:00
clnt.h Merge branch 'task_killable' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc 2008-02-01 11:45:47 +11:00
debug.h svc: Make svc_sock the tcp/udp transport 2008-02-01 16:42:07 -05:00
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h SUNRPC: Move universal address definitions to global header 2008-01-30 02:05:50 -05:00
rpc_pipe_fs.h
rpc_rdma.h SUNRPC endianness annotations 2007-10-29 07:41:32 -07:00
sched.h Merge branch 'task_killable' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc 2008-02-01 11:45:47 +11:00
stats.h
svc_rdma.h rdma: SVCRMDA Header File 2008-02-01 16:42:14 -05:00
svc_xprt.h svc: Add svc_xprt_names service to replace svc_sock_names 2008-02-01 16:42:14 -05:00
svc.h SUNRPC: spin svc_rqst initialization to its own function 2008-02-01 16:42:15 -05:00
svcauth_gss.h
svcauth.h
svcsock.h svc: Move the sockaddr information to svc_xprt 2008-02-01 16:42:12 -05:00
timer.h
types.h
xdr.h SUNRPC: Use unsigned string lengths in xdr_decode_string_inplace 2008-02-01 16:42:02 -05:00
xprt.h SUNRPC: fewer conditionals in the format_ip_address routines 2008-01-30 02:06:04 -05:00
xprtrdma.h
xprtsock.h SUNRPC: make sunrpc/xprtsock.c:xs_setup_{udp,tcp}() static 2007-11-26 16:24:50 -05:00