xprtrdma: Use an anonymous union in struct rpcrdma_mw
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 Mar 2016 16:28:45 +0000 (11:28 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 14 Mar 2016 18:56:06 +0000 (14:56 -0400)
commitc882a655b78d23eb7037cfd6ebf94af1d7068a58
tree4acf1b6d1061e27dc96556227e92dbff7f1a690c
parent552bf225281f96e7a02e1a1b874966fdb6b997e0
xprtrdma: Use an anonymous union in struct rpcrdma_mw

Clean up: Make code more readable.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/fmr_ops.c
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/xprt_rdma.h