]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Oct 2023 21:05:32 +0000 (23:05 +0200)
commitd2746cdfd5e51a7cc3250a498e4e90e5b4cea37a
tree934435d1aa32bd7f14d773cc6aa8231b89e3fac8
parent8f2350e204da71cba5110764c4e2213611c88fcd
scsi: core: Rename scsi_mq_done() into scsi_done() and export it

[ Upstream commit a710eacb9d13cb5d9eb5341ebc6fc8f7b96f8c6f ]

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>
Stable-dep-of: e193b7955dfa ("RDMA/srp: Do not call scsi_done() from srp_abort()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/scsi_lib.c
include/scsi/scsi_cmnd.h