]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Remove another sockaddr_storage field (cdata::addr)
authorChuck Lever <chuck.lever@oracle.com>
Fri, 15 Dec 2017 01:56:58 +0000 (20:56 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 16 Jan 2018 16:19:45 +0000 (11:19 -0500)
commit26f18f821ce586c98526ba0c6152090e8ead2e8c
tree73727e7e32edac0c5984fb7902c4e8c59c8333c8
parenta077255fa6a81ac5e4cd717aee182de98fa67ec4
xprtrdma: Remove another sockaddr_storage field (cdata::addr)

Save more space in struct rpcrdma_xprt by removing the redundant
"addr" field from struct rpcrdma_create_data_internal. Wherever
we have rpcrdma_xprt, we also have the rpc_xprt, which has a
sockaddr_storage field with the same content.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h