]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 19 Sep 2012 22:16:18 +0000 (18:16 -0400)
commit2080b533125571eaba9d1dc305371ae6114bf7dd
treedbc0eb0d04938a241d619b8276a49f130be3ff74
parent16e40d38710e0651099659cc94de73a19e6a407c
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