diff mbox series

block: export disk_clear_zoned

Message ID 20231221052815.1063146-1-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series block: export disk_clear_zoned | expand

Commit Message

Christoph Hellwig Dec. 21, 2023, 5:28 a.m. UTC
disk_clear_zoned can be called from a modular block driver like sd, so
export it.

Fixes: d73e93b4dfab ("block: simplify disk_set_zoned")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/blk-zoned.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jens Axboe Dec. 21, 2023, 2:47 p.m. UTC | #1
On 12/20/23 10:28 PM, Christoph Hellwig wrote:
> disk_clear_zoned can be called from a modular block driver like sd, so
> export it.

Already queued one up for that after replying last night, so all taken
care of.
diff mbox series

Patch

diff --git a/block/blk-zoned.c b/block/blk-zoned.c
index 580a58e53efd77..c59d44ee6b236e 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);