SUNRPC: Distinguish between the slot allocation list and receive queue
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 8 Aug 2018 13:23:32 +0000 (09:23 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:14 +0000 (15:35 -0400)
commitef3f54347f690d06649c0d7a1f63d3410b3d08d3
tree54da789eaf3e910df45e475b2559965efab533f7
parent78b576ced2f52f13e54955c89ab41eca9163671d
SUNRPC: Distinguish between the slot allocation list and receive queue

When storing a struct rpc_rqst on the slot allocation list, we currently
use the same field 'rq_list' as we use to store the request on the
receive queue. Since the structure is never on both lists at the same
time, this is OK.
However, for clarity, let's make that a union with different names for
the different lists so that we can more easily distinguish between
the two states.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c