From: Jens Axboe Date: Thu, 21 Dec 2023 03:32:12 +0000 (-0700) Subject: block: export disk_clear_zoned() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5165799f0d07184cabdd5e72e5b037271d128793;p=linux.git block: export disk_clear_zoned() A previous commit split disk_set_zoned(..., bool) into not taking an argument for whether to set or clear, and instead added disk_clear_zoned() as the counterpart. However, that commit neglected to export the new symbol, causing failures for modular drivers that used it. Reported-by: Stephen Rothwell Fixes: d73e93b4dfab ("block: simplify disk_set_zoned") Signed-off-by: Jens Axboe --- diff --git a/block/blk-zoned.c b/block/blk-zoned.c index 580a58e53efd7..c59d44ee6b236 100644 --- a/block/blk-zoned.c +++ b/block/blk-zoned.c @@ -635,3 +635,4 @@ void disk_clear_zoned(struct gendisk *disk) blk_mq_unfreeze_queue(q); } +EXPORT_SYMBOL_GPL(disk_clear_zoned);