* [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
* Re: [PATCH] block: export disk_clear_zoned
2023-12-21 5:28 [PATCH] block: export disk_clear_zoned Christoph Hellwig
@ 2023-12-21 14:47 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2023-12-21 14:47 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-block, Stephen Rothwell
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.
--
Jens Axboe
^ permalink raw reply [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.