diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-21 04:32:12 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-12-21 04:32:12 +0100 |
commit | 5165799f0d07184cabdd5e72e5b037271d128793 (patch) | |
tree | e114db62fbfbd602f66578f9e383c9a5085fbba4 /block/blk-zoned.c | |
parent | sd: only call disk_clear_zoned when needed (diff) | |
download | linux-5165799f0d07184cabdd5e72e5b037271d128793.tar.xz linux-5165799f0d07184cabdd5e72e5b037271d128793.zip |
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.c | 1 |
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); |