SUNRPC: Silence WARN_ON when NFSv4.1 over RDMA is in use
authorChuck Lever <chuck.lever@oracle.com>
Mon, 22 Aug 2016 18:57:42 +0000 (14:57 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 25 Aug 2016 02:32:55 +0000 (22:32 -0400)
commit16590a228109e2f318d2cc6466221134cfab723a
tree6fc50b56af011055e5988fd32f47d3b00c7b2576
parent41963c10c47a35185e68cb9049f7a3493c94d2d7
SUNRPC: Silence WARN_ON when NFSv4.1 over RDMA is in use

Using NFSv4.1 on RDMA should be safe, so broaden the new checks in
rpc_create().

WARN_ON_ONCE is used, matching most other WARN call sites in clnt.c.

Fixes: 39a9beab5acb ("rpc: share one xps between all backchannels")
Fixes: d50039ea5ee6 ("nfsd4/rpc: move backchannel create logic...")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/clnt.c