linux-stable/fs/iomap
Andreas Gruenbacher 1253811c71 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-14 18:11:36 +02:00
..
Makefile
apply.c
buffered-io.c iomap: iomap_write_failed fix 2022-06-14 18:11:36 +02:00
direct-io.c iomap: fix WARN_ON_ONCE() from unprivileged users 2020-10-29 09:58:06 +01:00
fiemap.c
seek.c iomap: remove the length variable in iomap_seek_hole 2021-07-31 08:19:39 +02:00
swapfile.c mm/swap: consider max pages in iomap_swapfile_add_extent 2021-09-15 09:47:35 +02:00