IB/srp: Dont allocate a page vector when using fast_reg
authorSagi Grimberg <sagig@mellanox.com>
Tue, 13 Oct 2015 16:11:41 +0000 (19:11 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 29 Oct 2015 02:27:19 +0000 (22:27 -0400)
commit9a21be531cacecce6c897faacd66ed4c7dbbe88b
tree809cb8b2f38e304dd66236d5d0a5278fa90271aa
parent51c2b8e2ac872cd90a12c5e606eeb0daf1a91e25
IB/srp: Dont allocate a page vector when using fast_reg

The new fast registration API does not reuqire a page vector
so we can't avoid allocating it.

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