RDMA/umem: fix missing automated rename
authorChristian König <christian.koenig@amd.com>
Mon, 7 Jun 2021 06:40:37 +0000 (08:40 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 7 Jun 2021 13:41:50 +0000 (15:41 +0200)
This occasions was missed during the recent rename of the function.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210607070658.11586-1-christian.koenig@amd.com
drivers/infiniband/core/umem_dmabuf.c

index 0d65ce146fc4d7b465362aba26c3636c2c2e1523..c6e875619fac715472877fff56241838f9796e6d 100644 (file)
@@ -66,7 +66,7 @@ wait_fence:
         * may be not up-to-date. Wait for the exporter to finish
         * the migration.
         */
-       fence = dma_resv_get_excl(umem_dmabuf->attach->dmabuf->resv);
+       fence = dma_resv_excl_fence(umem_dmabuf->attach->dmabuf->resv);
        if (fence)
                return dma_fence_wait(fence, false);