Skip to content
Commit deae1138 authored by Luis Chamberlain's avatar Luis Chamberlain Committed by Jens Axboe
Browse files

block/ataflop: provide a helper for cleanup up an atari disk



Instead of using two separate code paths for cleaning up an atari disk,
use one. We take the more careful approach to check for *all* disk
types, as is done on exit. The init path didn't have that check as
the alternative disk types are only probed for later, they are not
initialized by default.

Yes, there is a shared tag for all disks.

Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20210927220302.1073499-14-mcgrof@kernel.org
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 573effb2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment