aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-22 17:13:18 -0400
committerJens Axboe <axboe@fb.com>2015-06-02 08:33:33 -0600
commitefa7d1c733d1d2c1a468b85126d70bad9fdf6ba8 (patch)
tree04a423dc46215a19472d5e52eec8395947756859 /block/blk-cgroup.c
parentblkcg: move block/blk-cgroup.h to include/linux/blk-cgroup.h (diff)
downloadlinux-dev-efa7d1c733d1d2c1a468b85126d70bad9fdf6ba8.tar.xz
linux-dev-efa7d1c733d1d2c1a468b85126d70bad9fdf6ba8.zip
update !CONFIG_BLK_CGROUP dummies in include/linux/blk-cgroup.h
The header file will be used more widely with the pending cgroup writeback support and the current set of dummy declarations aren't enough to handle different config combinations. Update as follows. * Drop the struct cgroup declaration. None of the dummy defs need it. * Define blkcg as an empty struct instead of just declaring it. * Wrap dummy function defs in CONFIG_BLOCK. Some functions use block data types and none of them are to be used w/o block enabled. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions