block/bfq: fix ifdef for CONFIG_BFQ_GROUP_IOSCHED=y
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fri, 29 Mar 2019 14:01:18 +0000 (17:01 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2019 12:56:15 +0000 (06:56 -0600)
commit42b1bd33dcdef4ffd98f695e188bab82f9fa46d8
treedb99a97b9635a3216ce75820070a4b43b73c9bd0
parent79a3aaa7b82e3106be97842dedfd8429248896e6
block/bfq: fix ifdef for CONFIG_BFQ_GROUP_IOSCHED=y

Replace BFQ_GROUP_IOSCHED_ENABLED with CONFIG_BFQ_GROUP_IOSCHED.
Code under these ifdefs never worked, something might be broken.

Fixes: 0471559c2fbd ("block, bfq: add/remove entity weights correctly")
Fixes: 73d58118498b ("block, bfq: consider also ioprio classes in symmetry detection")
Reviewed-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c
block/bfq-wf2q.c