• Bart Van Assche's avatar
    scsi_transport_srp: Introduce srp_wait_for_queuecommand() · be34c62d
    Bart Van Assche authored
    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: default avatarBart 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: default avatarDoug Ledford <dledford@redhat.com>
    be34c62d
scsi_transport_srp.c 25.9 KB