scsi: core: Rename scsi_mq_done() into scsi_done() and export it
authorBart Van Assche <bvanassche@acm.org>
Thu, 7 Oct 2021 20:27:57 +0000 (13:27 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 17 Oct 2021 01:28:43 +0000 (21:28 -0400)
commita710eacb9d13cb5d9eb5341ebc6fc8f7b96f8c6f
tree7fc4ccbe37a215445e056ac7991d610827bf4324
parentbf23e619039d360d503b7282d030daf2277a5d47
scsi: core: Rename scsi_mq_done() into scsi_done() and export it

Since the removal of the legacy block layer there is only one completion
function left in the SCSI core, namely scsi_mq_done(). Rename it into
scsi_done(). Export that function to allow SCSI LLDs to call it directly.

Link: https://lore.kernel.org/r/20211007202923.2174984-3-bvanassche@acm.org
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c
include/scsi/scsi_cmnd.h