kernel_optimize_test/fs/iomap
Andreas Gruenbacher f40549ce20 iomap: iomap_write_failed fix
[ Upstream commit b71450e2cc4b3c79f33c5bd276d152af9bd54f79 ]

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:21:06 +02:00
..
apply.c
buffered-io.c iomap: iomap_write_failed fix 2022-06-09 10:21:06 +02:00
direct-io.c
fiemap.c
Makefile
seek.c iomap: remove the length variable in iomap_seek_hole 2021-07-31 08:16:12 +02:00
swapfile.c mm/swap: consider max pages in iomap_swapfile_add_extent 2021-09-15 09:50:42 +02:00
trace.c
trace.h