IB/srp: Remove use_mr argument from srp_map_sg_entry()
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 11 Aug 2015 00:08:18 +0000 (17:08 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:38 +0000 (18:12 -0400)
commit3ae95da8831e7bcf7b6da2b31cb4b50b3058f14e
tree2f3f32ed9c82c88227d9ffc7aec2df40ee3a3b39
parent0e0d3a480090d03f29e58dfd717960776f3416d9
IB/srp: Remove use_mr argument from srp_map_sg_entry()

Move the srp_map_desc() call from inside srp_map_sg_entry() to
srp_map_sg() such that the use_mr argument can be removed from
srp_map_sg_entry().

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c