Skip to content

Commit

Permalink
block: export disk_clear_zoned()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Fixes: d73e93b ("block: simplify disk_set_zoned")
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Dec 21, 2023
1 parent 5cc99b8 commit 5165799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/blk-zoned.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,3 +635,4 @@ void disk_clear_zoned(struct gendisk *disk)

blk_mq_unfreeze_queue(q);
}
EXPORT_SYMBOL_GPL(disk_clear_zoned);

0 comments on commit 5165799

Please sign in to comment.