diff options
| author | 2026-09-29 10:19:35 +1000 | |
|---|---|---|
| committer | 2026-09-28 20:30:16 -0600 | |
| commit | d8fe777978a12a96cb5d10d6d888720fcba2da2b (patch) | |
| tree | 3ee52c403d193799e3afb386b208aa32977cc14e /scripts/Makefile.thinlto | |
| parent | swim: Unexport global symbols (diff) | |
swim: Return -EROFS when opened with BLK_OPEN_WRITE flag
Write requests are not supported by the driver and produce IO errors as
shown below. Avoid this by returning -EROFS when opened for writing.
[ 4111.690000] I/O error, dev fd0, sector 2 op 0x1:(WRITE) flags 0x800800 phys_seg 1 prio class 2
[ 4111.700000] Buffer I/O error on dev fd0, logical block 2, lost async page write
Fixes: 8852ecd97488 ("m68k: mac - Add SWIM floppy support")
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Link: https://patch.msgid.link/327be6ca3c92c3411b5dfaeede014ed65a2d0f0f.1790641175.git.fthain@linux-m68k.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
