diff options
author | Tejun Heo <tj@kernel.org> | 2015-05-22 17:13:23 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-06-02 08:33:34 -0600 |
commit | fd383c2d3cae146337cea809de0d622b8b887e6c (patch) | |
tree | 649a13a93cb5cf05c43bb7a9b91efd94c05fac29 /block/bio.c | |
parent | ec438699a9ae0856c2ce20a50dd39cdc7e92a732 (diff) |
blkcg: implement task_get_blkcg_css()
Implement a wrapper around task_get_css() to acquire the blkcg css for
a given task. The wrapper is necessary for cgroup writeback support
as there will be places outside blkcg proper trying to acquire
blkcg_css and blkio_cgrp_id will be undefined when !CONFIG_BLK_CGROUP.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions