blk-stat: export helpers for modifying blk_rq_stat
authorJosef Bacik <jbacik@fb.com>
Tue, 3 Jul 2018 15:14:57 +0000 (11:14 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:54 +0000 (09:07 -0600)
commit2ecbf456352d0699f51b4c6d70ea5bf29766579c
tree3f7dcf7c71cda4d74d1a8371741cb498e43c02ff
parent2cf855837b89d92996cf264713f3bed2bf9b0b4f
blk-stat: export helpers for modifying blk_rq_stat

We need to use blk_rq_stat in the blkcg qos stuff, so export some of
these helpers so they can be used by other things.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-stat.c
block/blk-stat.h