aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/svc_rdma_transport.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-02-06 12:00:57 -0500
committerJ. Bruce Fields <bfields@redhat.com>2019-02-06 15:37:15 -0500
commit8820bcaa5bd73db2e28caae98f080a04cb6e2abb (patch)
treeffac222300e6f8d73f14cbf7ec616a6d99f0807b /net/sunrpc/xprtrdma/svc_rdma_transport.c
parentsvcrdma: Squelch compiler warning when SUNRPC_DEBUG is disabled (diff)
downloadlinux-dev-8820bcaa5bd73db2e28caae98f080a04cb6e2abb.tar.xz
linux-dev-8820bcaa5bd73db2e28caae98f080a04cb6e2abb.zip
svcrdma: Remove syslog warnings in work completion handlers
These can result in a lot of log noise, and are able to be triggered by client misbehavior. Since there are trace points in these handlers now, there's no need to spam the log. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '')
-rw-r--r--net/sunrpc/xprtrdma/svc_rdma_transport.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c
index ef6afcf5e9c4..027a3b07d329 100644
--- a/net/sunrpc/xprtrdma/svc_rdma_transport.c
+++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c
@@ -590,11 +590,6 @@ static void __svc_rdma_free(struct work_struct *work)
if (rdma->sc_qp && !IS_ERR(rdma->sc_qp))
ib_drain_qp(rdma->sc_qp);
- /* We should only be called from kref_put */
- if (kref_read(&xprt->xpt_ref) != 0)
- pr_err("svcrdma: sc_xprt still in use? (%d)\n",
- kref_read(&xprt->xpt_ref));
-
svc_rdma_flush_recv_queues(rdma);
/* Final put of backchannel client transport */