linux-stable/fs/iomap
Andreas Gruenbacher 7f9bb33df5 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:30:08 +02:00
..
Makefile iomap: build the block based code conditionally 2021-12-04 08:58:54 -08:00
buffered-io.c iomap: iomap_write_failed fix 2022-06-09 10:30:08 +02:00
direct-io.c for-5.18/write-streams-2022-03-18 2022-03-26 11:51:46 -07:00
fiemap.c fs: Move many prototypes to pagemap.h 2022-03-21 12:59:02 -04: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 iomap: lift common tracing code from xfs to iomap 2019-10-21 08:51:59 -07:00
trace.h iomap: Remove iomap_invalidatepage() 2022-03-15 08:23:29 -04:00