diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-11-27 17:33:30 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-01-07 23:54:27 +0100 |
commit | be2acb104880dbd5582c898d000cab5f38750bb9 (patch) | |
tree | 73b671a8639969bb6a5097a0d850cd5e83a8df65 /net/sunrpc/xprtrdma/svc_rdma_rw.c | |
parent | svcrdma: Add lockdep class keys for transport locks (diff) | |
download | linux-be2acb104880dbd5582c898d000cab5f38750bb9.tar.xz linux-be2acb104880dbd5582c898d000cab5f38750bb9.zip |
rpcrdma: Introduce a simple cid tracepoint class
De-duplicate some code, making it easier to add new tracepoints that
report only a completion ID.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_rw.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_rw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_rw.c b/net/sunrpc/xprtrdma/svc_rdma_rw.c index de1ec3220aab..db2a4bd2f7ad 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_rw.c +++ b/net/sunrpc/xprtrdma/svc_rdma_rw.c @@ -282,7 +282,7 @@ static void svc_rdma_write_done(struct ib_cq *cq, struct ib_wc *wc) switch (wc->status) { case IB_WC_SUCCESS: - trace_svcrdma_wc_write(wc, &cc->cc_cid); + trace_svcrdma_wc_write(&cc->cc_cid); break; case IB_WC_WR_FLUSH_ERR: trace_svcrdma_wc_write_flush(wc, &cc->cc_cid); |