xprtrdma: Recognize XDRBUF_SPARSE_PAGES
authorChuck Lever <chuck.lever@oracle.com>
Wed, 19 Dec 2018 15:59:17 +0000 (10:59 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Jan 2019 17:05:17 +0000 (12:05 -0500)
commit15303d9ecd2f29168aea0b080bd1ec27c298da3f
treec18f684ab17b9d3dcb5bb58861ff8149181ca831
parent0dfbb5f05e7888903e7e1da6c2c4aa017ee1a207
xprtrdma: Recognize XDRBUF_SPARSE_PAGES

Commit 431f6eb3570f ("SUNRPC: Add a label for RPC calls that require
allocation on receive") didn't update similar logic in rpc_rdma.c.
I don't think this is a bug, per-se; the commit just adds more
careful checking for broken upper layer behavior.

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