]> git.itanic.dy.fi Git - linux-stable/commitdiff
block: export disk_clear_zoned()
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Dec 2023 03:32:12 +0000 (20:32 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Dec 2023 03:32:12 +0000 (20:32 -0700)
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 <sfr@canb.auug.org.au>
Fixes: d73e93b4dfab ("block: simplify disk_set_zoned")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c

index 580a58e53efd773cf0858ee0fddb2f196c4e9c17..c59d44ee6b236e25667faecb59e891eed4070d7b 100644 (file)
@@ -635,3 +635,4 @@ void disk_clear_zoned(struct gendisk *disk)
 
        blk_mq_unfreeze_queue(q);
 }
+EXPORT_SYMBOL_GPL(disk_clear_zoned);