blk-cgroup: cleanup blk_cgroup_congested
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Apr 2022 04:27:21 +0000 (06:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 May 2022 20:06:20 +0000 (14:06 -0600)
commitd200ca143ac6d0b4391b4e811e67e1a36461d501
treec20b3f366795081dbf51c8780f4ed88c33ead78d
parentbc5fee91f26d8d1428fb744e5ad04b1417a85197
blk-cgroup: cleanup blk_cgroup_congested

Use blkcg_css instead of open coding it, and switch to a slightly
more natural for loop.

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