diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2022-05-06 04:19:13 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-05-09 00:47:42 +0300 |
commit | b71450e2cc4b3c79f33c5bd276d152af9bd54f79 (patch) | |
tree | c199bc74f148a486d7f7694b33c712cd72d1c27a /samples/bpf/xdp_monitor.bpf.c | |
parent | c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a (diff) | |
download | linux-b71450e2cc4b3c79f33c5bd276d152af9bd54f79.tar.xz |
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 'samples/bpf/xdp_monitor.bpf.c')
0 files changed, 0 insertions, 0 deletions