All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: export disk_clear_zoned
@ 2023-12-21  5:28 Christoph Hellwig
  2023-12-21 14:47 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2023-12-21  5:28 UTC (permalink / raw)
  To: axboe; +Cc: linux-block, Stephen Rothwell

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(+)

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);
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-21 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-21  5:28 [PATCH] block: export disk_clear_zoned Christoph Hellwig
2023-12-21 14:47 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.