On Thu, Sep 11, 2025 at 5:33 AM Bart Van Assche <bvanassche@xxxxxxx> wrote: > > Prepare for using blk_mq_all_tag_iter() in the SCSI core. > > Cc: Jens Axboe <axboe@xxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx> > Cc: Ming Lei <ming.lei@xxxxxxxxxx> > Cc: John Garry <john.g.garry@xxxxxxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > --- > block/blk-mq-tag.c | 1 + > block/blk-mq.h | 2 -- > include/linux/blk-mq.h | 2 ++ > 3 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c > index d880c50629d6..1d56ee8722c5 100644 > --- a/block/blk-mq-tag.c > +++ b/block/blk-mq-tag.c > @@ -419,6 +419,7 @@ void blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn, > { > __blk_mq_all_tag_iter(tags, fn, priv, BT_TAG_ITER_STATIC_RQS); > } > +EXPORT_SYMBOL(blk_mq_all_tag_iter); IMO, it isn't correct to export an API for iterating over static requests for drivers. Thanks