diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2020-04-20 19:42:04 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-05-08 15:15:12 +0200 |
commit | 566a2ab3c9005f62e784bd39022d58d34ef4365c (patch) | |
tree | 198d5bd77998c0b2a5687c6bd0102290c2b452ae /fs/gfs2/inode.c | |
parent | gfs2: Fix use-after-free in gfs2_logd after withdraw (diff) | |
download | linux-dev-566a2ab3c9005f62e784bd39022d58d34ef4365c.tar.xz linux-dev-566a2ab3c9005f62e784bd39022d58d34ef4365c.zip |
gfs2: Another gfs2_walk_metadata fix
Make sure we don't walk past the end of the metadata in gfs2_walk_metadata: the
inode holds fewer pointers than indirect blocks.
Slightly clean up gfs2_iomap_get.
Fixes: a27a0c9b6a20 ("gfs2: gfs2_walk_metadata fix")
Cc: stable@vger.kernel.org # v5.3+
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
0 files changed, 0 insertions, 0 deletions