blk-wbt: pass a gendisk to wbt_init
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:03:50 +0000 (16:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:05 +0000 (08:20 -0700)
commit958f29654747a54f2272eb478e493eb97f492e06
tree7b5dc64eef0b401315314fbfbd7d01d1b091ed89
parent04aad37be1a88de6a1919996a615437ac74de479
blk-wbt: pass a gendisk to wbt_init

Pass a gendisk to wbt_init to prepare for phasing out usage of the
request_queue in the blk-cgroup code.

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/20230203150400.3199230-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c
block/blk-wbt.c
block/blk-wbt.h