]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bf344e83567631070168d4906932d981c538248
treec20b3f366795081dbf51c8780f4ed88c33ead78d
parent7ac273948a0f0b60954970a3fe0a3660b3324e9a
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