blk-iolatency: fix blkg leak in timer_fn
authorJosef Bacik <josef@toxicpanda.com>
Tue, 31 Jul 2018 16:39:02 +0000 (12:39 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Aug 2018 15:16:01 +0000 (09:16 -0600)
commit52a1199ccd426ad583ade4eb678b3b5846c58f43
treec4de9b664eb8394617222ae6b65a1dc6a690af59
parent4725549192c9633b6a3740bf23770cb758bee4a0
blk-iolatency: fix blkg leak in timer_fn

At this point we have a ref on the blkg, we need to drop it if we don't
have a iolat.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iolatency.c