]> www.infradead.org Git - users/hch/misc.git/commit
block: remove the q argument from blk_rq_map_kern
authorChristoph Hellwig <hch@lst.de>
Sat, 12 Apr 2025 07:45:32 +0000 (09:45 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Apr 2025 19:03:18 +0000 (14:03 -0500)
commit8a2c55da1c3e7fedb2a812532bbb24f4a6b8b4c3
tree4865d2b3b485f058932ac8e2967d96062b7fbce3
parent29cc68ff35dd2b246c4366f1ae4b95798dd80a77
block: remove the q argument from blk_rq_map_kern

Remove the q argument from blk_rq_map_kern and the internal helpers
called by it as the queue can trivially be derived from the request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
block/blk-map.c
drivers/block/pktcdvd.c
drivers/block/ublk_drv.c
drivers/block/virtio_blk.c
drivers/nvme/host/core.c
drivers/scsi/scsi_ioctl.c
drivers/scsi/scsi_lib.c
include/linux/blk-mq.h