Home
last modified time | relevance | path

Searched hist:b71450e2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/iomap/
H A Dbuffered-io.cb71450e2 Thu May 05 20:19:13 CDT 2022 Andreas Gruenbacher <agruenba@redhat.com> 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>