Commit d200ca1
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>1 parent bc5fee9 commit d200ca1
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2038 | 2038 | | |
2039 | 2039 | | |
2040 | 2040 | | |
2041 | | - | |
2042 | | - | |
2043 | | - | |
2044 | | - | |
| 2041 | + | |
2045 | 2042 | | |
2046 | 2043 | | |
2047 | 2044 | | |
2048 | 2045 | | |
2049 | | - | |
2050 | 2046 | | |
2051 | 2047 | | |
2052 | 2048 | | |
| |||
0 commit comments