diff options
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index b1ff08d7da6c..0b72c4c7d7cb 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c | |||
@@ -162,10 +162,10 @@ void svc_rdma_put_context(struct svc_rdma_op_ctxt *ctxt, int free_pages) | |||
162 | put_page(ctxt->pages[i]); | 162 | put_page(ctxt->pages[i]); |
163 | 163 | ||
164 | for (i = 0; i < ctxt->count; i++) | 164 | for (i = 0; i < ctxt->count; i++) |
165 | dma_unmap_single(xprt->sc_cm_id->device->dma_device, | 165 | ib_dma_unmap_single(xprt->sc_cm_id->device, |
166 | ctxt->sge[i].addr, | 166 | ctxt->sge[i].addr, |
167 | ctxt->sge[i].length, | 167 | ctxt->sge[i].length, |
168 | ctxt->direction); | 168 | ctxt->direction); |
169 | 169 | ||
170 | spin_lock_bh(&xprt->sc_ctxt_lock); | 170 | spin_lock_bh(&xprt->sc_ctxt_lock); |
171 | list_add(&ctxt->free_list, &xprt->sc_ctxt_free); | 171 | list_add(&ctxt->free_list, &xprt->sc_ctxt_free); |