]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit959729738e5ef090b9a5c27cfd386442ec2c3bda
tree54da789eaf3e910df45e475b2559965efab533f7
parentadbb86fa92230556503fb83bbeb0821ad577edd4
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