• Tejun Heo's avatar
    blkcg: add blkcg_root_css · 496d5e75
    Tejun Heo authored
    Add global constant blkcg_root_css which points to &blkcg_root.css.
    This will be used by cgroup writeback support.  If blkcg is disabled,
    it's defined as ERR_PTR(-EINVAL).
    v2: The declarations moved to include/linux/blk-cgroup.h as suggested
        by Vivek.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
blk-cgroup.h 16.8 KB