summaryrefslogtreecommitdiff
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorAndrew Price <anprice@redhat.com>2024-03-11 18:40:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-17 13:02:10 +0300
commit6eb0d6e6d38c592a0a588418dc2f214cd370428e (patch)
treef7a7d4585b8a0a67ea06d8c36beab3a0fa722567 /fs/reiserfs
parente29758e73ef3f9380e57efb6c8c2f00c744a642f (diff)
downloadlinux-6eb0d6e6d38c592a0a588418dc2f214cd370428e.tar.xz
gfs2: Fix invalid metadata access in punch_hole
[ Upstream commit c95346ac918c5badf51b9a7ac58a26d3bd5bb224 ] In punch_hole(), when the offset lies in the final block for a given height, there is no hole to punch, but the maximum size check fails to detect that. Consequently, punch_hole() will try to punch a hole beyond the end of the metadata and fail. Fix the maximum size check. Signed-off-by: Andrew Price <anprice@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions