diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-07-30 10:32:39 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-08-30 18:08:45 -0400 |
commit | 0410e38eca85e042f5d5a281dbcc792db701ed44 (patch) | |
tree | 85a25ba682e247cff9b0d8a5b72e4a39f3dd9dbc /net/sunrpc/xprtrdma/svc_rdma_transport.c | |
parent | 563b67c5f90abeae1038008e6c9c187fb36ad35c (diff) | |
download | op-kernel-dev-0410e38eca85e042f5d5a281dbcc792db701ed44.zip op-kernel-dev-0410e38eca85e042f5d5a281dbcc792db701ed44.tar.gz |
xprtrdma, svcrdma: Convert to ib_alloc_mr
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_transport.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index fdc850f..8752a2d 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c @@ -738,7 +738,7 @@ static struct svc_rdma_fastreg_mr *rdma_alloc_frmr(struct svcxprt_rdma *xprt) if (!frmr) goto err; - mr = ib_alloc_fast_reg_mr(xprt->sc_pd, RPCSVC_MAXPAGES); + mr = ib_alloc_mr(xprt->sc_pd, IB_MR_TYPE_MEM_REG, RPCSVC_MAXPAGES); if (IS_ERR(mr)) goto err_free_frmr; |