1

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: d73e93b4df ("block: simplify disk_set_zoned")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe 2023-12-20 20:32:12 -07:00
parent 5cc99b8978
commit 5165799f0d

View File

@ -635,3 +635,4 @@ void disk_clear_zoned(struct gendisk *disk)
blk_mq_unfreeze_queue(q);
}
EXPORT_SYMBOL_GPL(disk_clear_zoned);