blk-ioprio: pass a gendisk to blk_ioprio_init and blk_ioprio_exit
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Sep 2022 18:04:51 +0000 (20:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 01:09:31 +0000 (19:09 -0600)
commitb0dde3f5d628f76f461fb650e2cebfac3460cff6
tree465e4f474099a31291db0533b44fd2dfaf16a6c4
parent9823538fb7efe66ce987a1e4c0e0f3dc882623c4
blk-ioprio: pass a gendisk to blk_ioprio_init and blk_ioprio_exit

Pass the gendisk to blk_ioprio_init and blk_ioprio_exit as part of moving
the blk-cgroup infrastructure to be gendisk based.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Herrmann <aherrmann@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220921180501.1539876-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-ioprio.c
block/blk-ioprio.h