]> git.baikalelectronics.ru Git - kernel.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)
commit38f4ec84722f82e95c44dda973c7d1feab1dd7ea
tree0cff6de0224344909db8e482e9167d93b94f8c2a
parentafee75e2e8bdfc295d95ecbc2f41fbd9c633f83d
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