null_blk: simplify logic for use_per_node_hctx
authorweiping zhang <zhangweiping@didichuxing.com>
Wed, 2 Aug 2017 16:26:39 +0000 (00:26 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Aug 2017 21:15:37 +0000 (15:15 -0600)
commit558ab300c8f2e8843cbd2f30b358815b01b790e1
treea76fd86e1cc547eb7b8ef8d45d1b7488d207c59a
parent3d289d68823cbfe86d326400c5386feda777f092
null_blk: simplify logic for use_per_node_hctx

make sure submit_queues equal nr_online_nodes.

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