block, bfq: fix error handle in bfq_init
authorweiping zhang <zhangweiping@didichuxing.com>
Fri, 18 Aug 2017 16:37:20 +0000 (00:37 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Aug 2017 21:35:54 +0000 (15:35 -0600)
commit37dcd6570f2e95364c26426d4110ba40c07df067
treef8e42939f4e973d805307bcdecb6c5ee16c8849d
parent74d46992e0d9dee7f1f376de0d56d31614c8a17a
block, bfq: fix error handle in bfq_init

if elv_register fail, bfq_pool should be free.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c