summaryrefslogtreecommitdiff
path: root/block/blk-zoned.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-12-20 20:32:12 -0700
committerJens Axboe <axboe@kernel.dk>2023-12-20 20:32:12 -0700
commit5165799f0d07184cabdd5e72e5b037271d128793 (patch)
treee114db62fbfbd602f66578f9e383c9a5085fbba4 /block/blk-zoned.c
parent5cc99b89785c55430a5674b32ad0d9e57a8ec251 (diff)
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 <sfr@canb.auug.org.au> Fixes: d73e93b4dfab ("block: simplify disk_set_zoned") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-zoned.c')
-rw-r--r--block/blk-zoned.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-zoned.c b/block/blk-zoned.c
index 580a58e53efd..c59d44ee6b23 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);