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)
commit397c9f46ee4d99024c64954b007c1b5762d01cb4
tree172f0f20dd201653b13e397f8bb7c1153cd61b60
parent216889aad362b5b7e998a5371348b5e95d485dd1
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