Skip to content
Commit a47145f2 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christian Brauner
Browse files

floppy: call disk_force_media_change when changing the format



While changing the format of a floppy isn't strictly speaking a media
change, the effects are the same in that the content of the media
changes and the diskseq should be increased and uevent should be
sent.  Switch from calling __invalidate_device to
disk_force_media_change to do so.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Message-Id: <20230811100828.1897174-10-hch@lst.de>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent ab6860f6
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