blk-mq: factor out a helper to iterate all tags for a request_queue
authorChristoph Hellwig <hch@lst.de>
Sun, 27 Sep 2015 19:01:51 +0000 (21:01 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 1 Oct 2015 08:10:57 +0000 (10:10 +0200)
commit0bf6cd5b9531bcc29c0a5e504b6ce2984c6fd8d8
treebf6d257b11c79cda7f8f44e3fd8d9c535143fdfd
parentf4829a9b7a61e159367350008a608b062c4f6840
blk-mq: factor out a helper to iterate all tags for a request_queue

And replace the blk_mq_tag_busy_iter with it - the driver use has been
replaced with a new helper a while ago, and internal to the block we
only need the new version.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-tag.c
block/blk-mq-tag.h
block/blk-mq.c
include/linux/blk-mq.h