summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-tag.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2016-03-10 13:58:49 +0200
committerJens Axboe <axboe@fb.com>2016-04-12 15:07:36 -0600
commite8f1e1630b0a98685d1a3521e8aba0dc7e68082c (patch)
tree737e91b33c18538d324b69f65e3ae63ad3568fcc /block/blk-mq-tag.c
parent6d125de40bbc5b29fd8e6dce74e1a661a085dab1 (diff)
downloadlinux-stable-e8f1e1630b0a98685d1a3521e8aba0dc7e68082c.tar.gz
linux-stable-e8f1e1630b0a98685d1a3521e8aba0dc7e68082c.tar.bz2
linux-stable-e8f1e1630b0a98685d1a3521e8aba0dc7e68082c.zip
blk-mq: Make blk_mq_all_tag_busy_iter static
No caller outside the blk-mq code so we can settle with it static. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-tag.c')
-rw-r--r--block/blk-mq-tag.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c
index 2fd04286f103..56a0c37a3d06 100644
--- a/block/blk-mq-tag.c
+++ b/block/blk-mq-tag.c
@@ -464,15 +464,14 @@ static void bt_tags_for_each(struct blk_mq_tags *tags,
}
}
-void blk_mq_all_tag_busy_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn,
- void *priv)
+static void blk_mq_all_tag_busy_iter(struct blk_mq_tags *tags,
+ busy_tag_iter_fn *fn, void *priv)
{
if (tags->nr_reserved_tags)
bt_tags_for_each(tags, &tags->breserved_tags, 0, fn, priv, true);
bt_tags_for_each(tags, &tags->bitmap_tags, tags->nr_reserved_tags, fn, priv,
false);
}
-EXPORT_SYMBOL(blk_mq_all_tag_busy_iter);
void blk_mq_tagset_busy_iter(struct blk_mq_tag_set *tagset,
busy_tag_iter_fn *fn, void *priv)