SUNRPC: Cleanup xs_tcp_read_common()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 13 Aug 2017 06:13:45 +0000 (02:13 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 16 Aug 2017 19:10:17 +0000 (15:10 -0400)
commit040249dfbeed9dd553fd323ef4b42c7a3270898b
tree4d45b6d49e2a4ea508fde15286d2e1faa6153c71
parent8d6f97d698b2b9e71124ba95688a6bf1adad5055
SUNRPC: Cleanup xs_tcp_read_common()

Simplify the code to avoid a full copy of the struct xdr_skb_reader.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c