]> git.baikalelectronics.ru Git - kernel.git/commit
blk-cgroup: move struct blkcg to block/blk-cgroup.h
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Apr 2022 04:27:15 +0000 (06:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 May 2022 20:06:20 +0000 (14:06 -0600)
commit81778db70b694606b033a57014bf7271e8abd96c
treeee13aaf118cd8a274d477a144fb9aed2ed33a8df
parent1abe23e9f24f9a42ba16ea4918aa3cfb76b3238b
blk-cgroup: move struct blkcg to block/blk-cgroup.h

There is no real need to expose the blkcg structure to the whole kernel.
Move it to the private header an expose a helper to let the writeback
code access the cgwb_list member.

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