diff options
author | Tejun Heo | 2019-06-27 22:39:48 +0200 |
---|---|---|
committer | Jens Axboe | 2019-07-10 17:00:57 +0200 |
commit | 9b0eb69b75bccada2d341d7e7ca342f0cb1c9a6a (patch) | |
tree | fe6f801bf144743a3f9ac9c336602f855d35ac45 /block | |
parent | blk-cgroup: turn on psi memstall stuff (diff) | |
download | kernel-qcow2-linux-9b0eb69b75bccada2d341d7e7ca342f0cb1c9a6a.tar.gz kernel-qcow2-linux-9b0eb69b75bccada2d341d7e7ca342f0cb1c9a6a.tar.xz kernel-qcow2-linux-9b0eb69b75bccada2d341d7e7ca342f0cb1c9a6a.zip |
cgroup, blkcg: Prepare some symbols for module and !CONFIG_CGROUP usages
btrfs is going to use css_put() and wbc helpers to improve cgroup
writeback support. Add dummy css_get() definition and export wbc
helpers to prepare for module and !CONFIG_CGROUP builds.
Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 8afa52b0d148..ad7a91dec934 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -48,6 +48,7 @@ struct blkcg blkcg_root; EXPORT_SYMBOL_GPL(blkcg_root); struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css; +EXPORT_SYMBOL_GPL(blkcg_root_css); static struct blkcg_policy *blkcg_policy[BLKCG_MAX_POLS]; |