SUNRPC: Get rid of the redundant xprt->shutdown bit field
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 11 Sep 2012 21:21:25 +0000 (17:21 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:05 +0000 (16:03 -0400)
commitd19751e7b9bd8a01d00372325439589886674f79
tree71ea849e8dc6021a455f2de1a76601e8db2255c7
parentdcfc4f25461813e8a2dd43b052aa1e0be155742f
SUNRPC: Get rid of the redundant xprt->shutdown bit field

It is only set after everyone has dereferenced the transport,
and serves no useful purpose: setting it is racy, so all the
socket code, etc still needs to be able to cope with the cases
where they miss reading it.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c