blk-cgroup: cleanup blkcg_maybe_throttle_current
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Apr 2022 04:27:22 +0000 (06:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 May 2022 20:06:20 +0000 (14:06 -0600)
commit82778259eb201870d6d4f95ca4162de60a682343
treeaff35bbab7371d0154ba48791a6f02e321712c00
parentd200ca143ac6d0b4391b4e811e67e1a36461d501
blk-cgroup: cleanup blkcg_maybe_throttle_current

Use blkcg_css instead of opencoding it.

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