]> git.itanic.dy.fi Git - linux-stable/commit
cgroup, blkcg: Prepare some symbols for module and !CONFIG_CGROUP usages
authorTejun Heo <tj@kernel.org>
Thu, 27 Jun 2019 20:39:48 +0000 (13:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Jun 2020 08:23:16 +0000 (10:23 +0200)
commitf510fa515d694a76c2b7d704e6d97e67323a4e50
tree04907c74f62d9d3228232e7693b831b9e8d1e9de
parent55753eb667644cac0d05ce6cbbde6e65e257c16b
cgroup, blkcg: Prepare some symbols for module and !CONFIG_CGROUP usages

commit 9b0eb69b75bccada2d341d7e7ca342f0cb1c9a6a upstream.

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.

[only backport the export of __inode_attach_wb for stable kernels - gregkh]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/fs-writeback.c