]> git.baikalelectronics.ru Git - kernel.git/commit
blk-cgroup: hold the queue ref during throttling
authorJosef Bacik <josef@toxicpanda.com>
Tue, 31 Jul 2018 16:39:03 +0000 (12:39 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Aug 2018 15:16:03 +0000 (09:16 -0600)
commitda2aa710379aa7e5b335b1047dcb0fefae62ced8
treeede12ab4add1b486c0f34eb925cfca76853a4faa
parent90e6874960a989d56f854ec6b62454f29a5253c0
blk-cgroup: hold the queue ref during throttling

The blkg lifetime is protected by the queue lifetime, so we need to put
the queue _after_ we're done using the blkg.

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