blk-cgroup: pass a gendisk to blkg_lookup
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:03:59 +0000 (16:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:05 +0000 (08:20 -0700)
commit479664cee14d8452d3d76f8d0b7fccd0cbe4ed49
treef0d6272a3076166c34f17b2e3c92fb0024e28b31
parent0a0b4f79db2e6e745672aa3852cf5fdf7af14a0f
blk-cgroup: pass a gendisk to blkg_lookup

Pass a gendisk to blkg_lookup and use that to find the match as part
of 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-19-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-cgroup.h