[PATCH v3 06/10] block: remove blk_init_flush() and its pair

2014-09-12 Thread Ming Lei
Now mission of the two helpers is over, and just call blk_alloc_flush_queue() and blk_free_flush_queue() directly. Signed-off-by: Ming Lei --- block/blk-core.c |5 +++-- block/blk-flush.c | 19 ++- block/blk-mq.c|3 ++- block/blk-sysfs.c |2 +- block/blk.h

[PATCH v3 06/10] block: remove blk_init_flush() and its pair

2014-09-12 Thread Ming Lei
Now mission of the two helpers is over, and just call blk_alloc_flush_queue() and blk_free_flush_queue() directly. Signed-off-by: Ming Lei ming@canonical.com --- block/blk-core.c |5 +++-- block/blk-flush.c | 19 ++- block/blk-mq.c|3 ++- block/blk-sysfs.c |