blk-throttle: pass a gendisk to blk_throtl_register_queue
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Sep 2022 18:04:57 +0000 (20:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 01:17:27 +0000 (19:17 -0600)
commit5f6dc7522ac2e1701c92f20b9a1a664736787728
treef21a760cabac38eb6412d27107e3f60f4ff7c30c
parente13793bae65919cd3e6a7827f8d30f4dbb8584ee
blk-throttle: pass a gendisk to blk_throtl_register_queue

Pass the gendisk to blk_throtl_register_queue 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-14-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c
block/blk-throttle.c
block/blk-throttle.h