[PATCH] helper function for retrieving scsi_cmd given host based block layer tag
David C Somayajulu authored

This was necessitated by the need for a function to get back
to a scsi_cmnd, when an hba the posts its (corresponding) completion
interrupt with a block layer tag as its reference.
Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarDavid Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
f583f492