summaryrefslogtreecommitdiff
path: root/block/bfq-cgroup.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-06 13:26:19 +0300
committerJens Axboe <axboe@kernel.dk>2019-06-20 19:32:34 +0300
commit239eeb085753d4356f731a773f363eb5bed4fe81 (patch)
treebba7ae13bbc54a1ac631d2d7eb9c3fb67dd6ca3c /block/bfq-cgroup.c
parent1aa0a133fbabeca9e8785fb11de471841009d6d9 (diff)
downloadlinux-239eeb085753d4356f731a773f363eb5bed4fe81.tar.xz
blk-cgroup: factor out a helper to read rwstat counter
Trying to break up the crazy statements to something readable. Also switch to an unsigned counter as it can't ever turn negative. Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-cgroup.c')
0 files changed, 0 insertions, 0 deletions