bfq-iosched: don't call bfqg_and_blkg_put for !CONFIG_BFQ_GROUP_IOSCHED
authorJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 19:20:51 +0000 (12:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 19:22:28 +0000 (12:22 -0700)
commit8abef10b3de1144cfe968f454946f13eb1ac3d0a
treef62cf163845beea344e0779bf2e6370b471926fb
parent3609c471a1b86bffc812d8a2f0299892aa11a5e6
bfq-iosched: don't call bfqg_and_blkg_put for !CONFIG_BFQ_GROUP_IOSCHED

It's not available if we don't have group io scheduling set, and
there's no need to call it.

Fixes: 0d52af590552 ("block, bfq: release oom-queue ref to root group on exit")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c