svcrdma: Clean-up svc_rdma_unmap_dma
authorChuck Lever <chuck.lever@oracle.com>
Fri, 23 Jun 2017 21:19:05 +0000 (17:19 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 12 Jul 2017 19:54:58 +0000 (15:54 -0400)
commit0d956e694ad2d4b8fb3940dc19e738e1fc158353
tree3145674bc6d7b55386aa830c8b202e9a0421aec0
parent463e63d7014442002399903af027b63ae38f6e77
svcrdma: Clean-up svc_rdma_unmap_dma

There's no longer a need to compare each SGE's lkey with the PD's
local_dma_lkey. Now that FRWR is gone, all DMA mappings are for
pages that were registered with this key.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c