]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
blk-cgroup: replace bio_blkcg with bio_blkcg_css
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Apr 2022 04:27:17 +0000 (06:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 May 2022 20:06:20 +0000 (14:06 -0600)
commitbbb1ebe7a909db4de49777fb7676d5bf293f34c9
tree0cff6de0224344909db8e482e9167d93b94f8c2a
parentf4a6a61cb6d40d9ae63e47743d33200f3efe3fe7
blk-cgroup: replace bio_blkcg with bio_blkcg_css

All callers of bio_blkcg actually want the CSS, so replace it with an
interface that does return the CSS.  This now allows to move
struct blkcg_gq to block/blk-cgroup.h instead of exposing it in a
public header.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220420042723.1010598-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-cgroup.h
drivers/block/loop.c
include/linux/blk-cgroup.h
kernel/trace/blktrace.c