blk-cgroup: pass a gendisk to blkcg_init_queue and blkcg_exit_queue
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Sep 2022 18:04:50 +0000 (20:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 01:09:31 +0000 (19:09 -0600)
commit9823538fb7efe66ce987a1e4c0e0f3dc882623c4
tree2e5ae0b18415151ffd4cfb442b1ac1f47463c91b
parentf753526e327bc849c445c084d0f374e992038ae9
blk-cgroup: pass a gendisk to blkcg_init_queue and blkcg_exit_queue

Pass the gendisk to blkcg_init_disk and blkcg_exit_disk as part of moving
the blk-cgroup infrastructure to be gendisk based.  Also remove the
rather pointless kerneldoc comments for these internal functions with a
single caller each.

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