blkcg: Introduce blkg_root_lookup()
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 9 Aug 2018 14:53:36 +0000 (07:53 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 Aug 2018 15:12:57 +0000 (09:12 -0600)
commit6bad9b210a228d2fe0e0efe26d9b115348529cee
tree6371fc42fc0b3d145ae8d32ae3d9331c916bfe57
parentb1f4267cc5448d20ae0c515a74141e74365e78a3
blkcg: Introduce blkg_root_lookup()

This new function will be used in a later patch to verify whether a
queue has been dissociated from the cgroup controller before being
released.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Alexandru Moise <00moses.alexander00@gmail.com>
Cc: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-cgroup.h