]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2015 17:10:04 +0000 (10:10 -0700)
commit3705ac339307a3f6b5a84e48cb82be0167b4e633
treeadf0dd5c08b312d80880bbcb4073c02f6dd9fc27
parentbcd201e2ae1c3e431a89a02a48c05112f19eb65e
scsi_transport_srp: Introduce srp_wait_for_queuecommand()

commit be34c62ddf39d1931780b07a6f4241393e4ba2ee upstream.

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>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/scsi_transport_srp.c