]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90e6874960a989d56f854ec6b62454f29a5253c0
treec4de9b664eb8394617222ae6b65a1dc6a690af59
parenteeb510876d7401b0176354230c0b464a741f34b9
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