[PATCH v2 1/6] blk-mq: export blk_mq_freeze_queue and blk_mq_unfreeze_queue

2014-08-30 Thread Ming Lei
It is handy to use the two helpers for switching backend file in loop driver, so export them. Signed-off-by: Ming Lei --- block/blk-mq.c |4 +++- block/blk-mq.h |1 - include/linux/blk-mq.h |2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH v2 1/6] blk-mq: export blk_mq_freeze_queue and blk_mq_unfreeze_queue

2014-08-30 Thread Ming Lei
It is handy to use the two helpers for switching backend file in loop driver, so export them. Signed-off-by: Ming Lei ming@canonical.com --- block/blk-mq.c |4 +++- block/blk-mq.h |1 - include/linux/blk-mq.h |2 ++ 3 files changed, 5 insertions(+), 2 deletions(-)