blk-mq: remove the done argument to blk_execute_rq_nowait
authorChristoph Hellwig <hch@lst.de>
Tue, 24 May 2022 12:15:30 +0000 (14:15 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 28 May 2022 12:15:27 +0000 (06:15 -0600)
commite2e530867245d051dc7800b0d07193b3e581f5b9
treef59488f9897154fe555cc97d29050693b5de9217
parent32ac5a9b8bc511edcd81f03c3e21753789475709
blk-mq: remove the done argument to blk_execute_rq_nowait

Let the caller set it together with the end_io_data instead of passing
a pointless argument.  Note the the target code did in fact already
set it and then just overrode it again by calling blk_execute_rq_nowait.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220524121530.943123-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
12 files changed:
block/blk-mq.c
drivers/block/sx8.c
drivers/nvme/host/core.c
drivers/nvme/host/ioctl.c
drivers/nvme/host/pci.c
drivers/nvme/target/passthru.c
drivers/scsi/scsi_error.c
drivers/scsi/sg.c
drivers/scsi/st.c
drivers/scsi/ufs/ufshpb.c
drivers/target/target_core_pscsi.c
include/linux/blk-mq.h