aboutsummaryrefslogtreecommitdiff
path: root/fs/iomap/direct-io.c
diff options
context:
space:
mode:
authorGravatar Andreas Gruenbacher <agruenba@redhat.com> 2022-05-05 18:19:13 -0700
committerGravatar Darrick J. Wong <djwong@kernel.org> 2022-05-08 14:47:42 -0700
commitb71450e2cc4b3c79f33c5bd276d152af9bd54f79 (patch)
treec199bc74f148a486d7f7694b33c712cd72d1c27a /fs/iomap/direct-io.c
parentLinux 5.18-rc6 (diff)
downloadlinux-b71450e2cc4b3c79f33c5bd276d152af9bd54f79.tar.gz
linux-b71450e2cc4b3c79f33c5bd276d152af9bd54f79.tar.bz2
linux-b71450e2cc4b3c79f33c5bd276d152af9bd54f79.zip
iomap: iomap_write_failed fix
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: ae259a9c8593 ("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>
Diffstat (limited to 'fs/iomap/direct-io.c')
0 files changed, 0 insertions, 0 deletions