Skip to content

Commit 2c0326c

Browse files
Christoph Hellwigbrauner
authored andcommitted
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>
1 parent a47145f commit 2c0326c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/block/amiflop.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,6 @@ static int fd_locked_ioctl(struct block_device *bdev, blk_mode_t mode,
15471547
rel_fdc();
15481548
return -EBUSY;
15491549
}
1550-
fsync_bdev(bdev);
15511550
if (fd_motor_on(drive) == 0) {
15521551
rel_fdc();
15531552
return -ENODEV;

0 commit comments

Comments
 (0)