IB/isert: Move fastreg descriptor creation to a function
authorSagi Grimberg <sagig@mellanox.com>
Thu, 9 Jan 2014 16:40:51 +0000 (18:40 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Jan 2014 02:22:08 +0000 (02:22 +0000)
commitdc87a90f5d61d7f01cfb63d92d5eaa27718e5b19
tree204e62d19f3ad09e6b3cf38c88db2e0a9de6b4b9
parenta3a5a82627492c8947d8866ddf421e9248088466
IB/isert: Move fastreg descriptor creation to a function

This routine may be called both by fast registration
descriptors for data and for integrity buffers.

This patch does not change any functionality.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c