WSL2-Linux-Kernel/fs/iomap
Andreas Gruenbacher 76f5bd1eed iomap: iomap_write_failed fix
[ Upstream commit b71450e2cc ]

The @lend parameter of truncate_pagecache_range() should be the offset
of the last byte of the hole, not the first byte beyond it.

Fixes: ae259a9c85 ("fs: introduce iomap infrastructure")
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:22:55 +02:00
..
Makefile iomap: move loop control code to iter.c 2021-08-16 21:26:33 -07:00
buffered-io.c iomap: iomap_write_failed fix 2022-06-09 10:22:55 +02:00
direct-io.c iomap: Add done_before argument to iomap_dio_rw 2022-05-01 17:22:32 +02:00
fiemap.c iomap: switch iomap_bmap to use iomap_iter 2021-08-16 21:26:33 -07:00
iter.c iomap: move loop control code to iter.c 2021-08-16 21:26:33 -07:00
seek.c iomap: switch iomap_seek_data to use iomap_iter 2021-08-16 21:26:33 -07:00
swapfile.c mm/swap: consider max pages in iomap_swapfile_add_extent 2021-08-18 12:47:52 -07:00
trace.c
trace.h iomap: standardize tracepoint formatting and storage 2021-08-26 09:18:53 -07:00