mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
xprtrdma: Squelch ENOBUFS warnings
When ro_map is out of buffers, that's not a permanent error, so don't report a problem. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
7d7fa9b550
commit
0031e47c76
1 changed files with 5 additions and 3 deletions
|
@ -781,9 +781,11 @@ rpcrdma_marshal_req(struct rpc_rqst *rqst)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
out_err:
|
out_err:
|
||||||
|
if (PTR_ERR(iptr) != -ENOBUFS) {
|
||||||
pr_err("rpcrdma: rpcrdma_marshal_req failed, status %ld\n",
|
pr_err("rpcrdma: rpcrdma_marshal_req failed, status %ld\n",
|
||||||
PTR_ERR(iptr));
|
PTR_ERR(iptr));
|
||||||
r_xprt->rx_stats.failed_marshal_count++;
|
r_xprt->rx_stats.failed_marshal_count++;
|
||||||
|
}
|
||||||
return PTR_ERR(iptr);
|
return PTR_ERR(iptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue