sunrpc: replace svc_serv->sv_bc_xprt by boolean flag
authorVasily Averin <vvs@virtuozzo.com>
Mon, 24 Dec 2018 11:45:04 +0000 (14:45 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 28 Dec 2018 02:01:41 +0000 (21:01 -0500)
commita289ce5311f406bf846614591300a948ebc42062
tree52672e4111d17511c4b8f7c3beb7f804e790decc
parentd4b09acf924b84bae77cad090a9d108e70b43643
sunrpc: replace svc_serv->sv_bc_xprt by boolean flag

svc_serv-> sv_bc_xprt is netns-unsafe and cannot be used as pointer.
To prevent its misuse in future it is replaced by new boolean flag.

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs/callback.c
include/linux/sunrpc/bc_xprt.h
include/linux/sunrpc/svc.h
net/sunrpc/svcsock.c
net/sunrpc/xprtrdma/svc_rdma_transport.c