]> git.baikalelectronics.ru Git - kernel.git/commit
blk-cgroup: move blkcg_{pin,unpin}_online out of line
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Apr 2022 04:27:14 +0000 (06:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 May 2022 20:06:20 +0000 (14:06 -0600)
commit1abe23e9f24f9a42ba16ea4918aa3cfb76b3238b
tree172f0f20dd201653b13e397f8bb7c1153cd61b60
parent84f9fdee01a4225f88c6e0f12948e4fb5a479f07
blk-cgroup: move blkcg_{pin,unpin}_online out of line

Move these two functions out of line as there is no good reason
to inline them.  Also switch to passing a cgroup_subsys_state
instead of doing the conversion in the caller to prepare for making
the blkcg structure private to blk-cgroup.

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