block: remove the gendisk argument to blk_execute_rq
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Nov 2021 12:18:01 +0000 (13:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:41:29 +0000 (06:41 -0700)
commitb84ba30b6c7a75babdf73b83bc3c7b59b944501a
treedd68d03efb1ebe9a4cc31c9ae957e2531d061536
parentf3fa33acca9f0058157214800f68b10d8e71ab7a
block: remove the gendisk argument to blk_execute_rq

Remove the gendisk aregument to blk_execute_rq and blk_execute_rq_nowait
given that it is unused now.  Also convert the boolean at_head parameter
to actually use the bool type while touching the prototype.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20211126121802.2090656-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
21 files changed:
block/blk-mq.c
block/bsg-lib.c
drivers/block/mtip32xx/mtip32xx.c
drivers/block/paride/pd.c
drivers/block/pktcdvd.c
drivers/block/sx8.c
drivers/block/virtio_blk.c
drivers/mmc/core/block.c
drivers/nvme/host/core.c
drivers/nvme/host/pci.c
drivers/nvme/target/passthru.c
drivers/scsi/scsi_bsg.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_ioctl.c
drivers/scsi/scsi_lib.c
drivers/scsi/sg.c
drivers/scsi/sr.c
drivers/scsi/st.c
drivers/scsi/ufs/ufshpb.c
drivers/target/target_core_pscsi.c
include/linux/blk-mq.h