linux-stable/fs/iomap
Andreas Gruenbacher 3bfb520710 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:25:48 +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:25:48 +02:00
direct-io.c mm: move filemap_range_needs_writeback() into header 2021-12-03 14:51:26 -07: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