blk-cgroup: refactor blkcg_print_stat
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Aug 2021 15:26:22 +0000 (17:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Aug 2021 16:53:01 +0000 (10:53 -0600)
commit49cb5168a7c6abf9835f9acdce6263bc2deefeb6
tree59df133def9cddb5540304b51f62f436ed2be1bb
parent3973e15fa5342783ce0009ab3a423ae9b811fc63
blk-cgroup: refactor blkcg_print_stat

Factor out a helper to deal with a single blkcg_gq to make the code a
little bit easier to follow.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20210810152623.1796144-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c