diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-11 13:08:21 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-21 15:35:31 +0300 |
commit | 2c0326c587965a40c4013361b1f4d0e5cca5194e (patch) | |
tree | c5e180aaeaec7c8b9b58b62789ae9f2ecf688ce2 | |
parent | a47145f2361976c83bb7d3198e7ff0e13a29fb7e (diff) | |
download | linux-2c0326c587965a40c4013361b1f4d0e5cca5194e.tar.xz |
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>
-rw-r--r-- | drivers/block/amiflop.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index e460c9799d9f..2b98114a9fe0 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c @@ -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; |