X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Fsunrpc%2Fxprtrdma%2Fsvc_rdma_backchannel.c;h=2d8545c3409596190d027e8ad73651903f25a6aa;hb=c4a86165d1ec70c8e592fa7b7cc7070971533021;hp=fa893507d9ebd1f7ecd66aeeaca764f29905fed1;hpb=3f807e5ae5597bd65a6fff684083e8eaa21f3fa7;p=cascardo%2Flinux.git diff --git a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c index fa893507d9eb..2d8545c34095 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c +++ b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c @@ -129,7 +129,7 @@ static int svc_rdma_bc_sendto(struct svcxprt_rdma *rdma, ret = -EIO; goto out_unmap; } - atomic_inc(&rdma->sc_dma_used); + svc_rdma_count_mappings(rdma, ctxt); memset(&send_wr, 0, sizeof(send_wr)); ctxt->cqe.done = svc_rdma_wc_send;