amiflop: don't call fsync_bdev in FDFMTBEG
FDFMTBEG is used by fdformat to calibrate before formatting a disk. Neither the atari nor PC floppy driver sync data, which also seems a bit pointless for a disk hat is about to get formatted. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Message-Id: <20230811100828.1897174-11-hch@lst.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
a47145f236
commit
2c0326c587
@ -1547,7 +1547,6 @@ static int fd_locked_ioctl(struct block_device *bdev, blk_mode_t mode,
|
||||
rel_fdc();
|
||||
return -EBUSY;
|
||||
}
|
||||
fsync_bdev(bdev);
|
||||
if (fd_motor_on(drive) == 0) {
|
||||
rel_fdc();
|
||||
return -ENODEV;
|
||||
|
Loading…
x
Reference in New Issue
Block a user