1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-22 07:53:11 -05:00
linux/fs/iomap
Marco Nelissen c13094b894
iomap: avoid avoid truncating 64-bit offset to 32 bits
on 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a
32-bit position due to folio_next_index() returning an unsigned long.
This could lead to an infinite loop when writing to an xfs filesystem.

Signed-off-by: Marco Nelissen <marco.nelissen@gmail.com>
Link: https://lore.kernel.org/r/20250109041253.2494374-1-marco.nelissen@gmail.com
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-01-09 16:09:20 +01:00
..
buffered-io.c iomap: avoid avoid truncating 64-bit offset to 32 bits 2025-01-09 16:09:20 +01:00
direct-io.c iomap: drop an obsolete comment in iomap_dio_bio_iter 2024-11-11 14:35:06 +01:00
fiemap.c
iter.c iomap: reset per-iter state on non-error iter advances 2024-11-21 09:35:25 +01:00
Makefile
seek.c
swapfile.c
trace.c
trace.h fs: iomap: Atomic write support 2024-11-04 16:14:02 -08:00