scsi_transport_srp: Introduce srp_wait_for_queuecommand()
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 18 May 2015 11:22:19 +0000 (13:22 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:55 +0000 (13:35 -0400)
commitbe34c62ddf39d1931780b07a6f4241393e4ba2ee
treeef0ef152ef1ea06170123411883741fb953c5955
parente26081808edadfd257c6c9d81014e3b25e9a6118
scsi_transport_srp: Introduce srp_wait_for_queuecommand()

Introduce the helper function srp_wait_for_queuecommand().
Move the definition of scsi_request_fn_active(). Add a comment
above srp_wait_for_queuecommand() that support for scsi-mq needs
to be added.

This patch does not change any functionality. A second call to
srp_wait_for_queuecommand() will be introduced in the next patch.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: James Bottomley <JBottomley@Odin.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Cc: <stable@vger.kernel.org> #v3.13
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/scsi/scsi_transport_srp.c