aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2018-06-21 23:25:57 -0700
committerDarrick J. Wong <[email protected]>2018-06-21 23:25:57 -0700
commit23fcb3340d033d9f081e21e6c12c2db7eaa541d3 (patch)
tree169cc8eaec84806931df8382491cad85d57de876 /tools/perf/scripts
parente2ac836307e346969737c60075fdb01bed1af503 (diff)
xfs: More robust inode extent count validation
When the inode is in extent format, it can't have more extents that fit in the inode fork. We don't currenty check this, and so this corruption goes unnoticed by the inode verifiers. This can lead to crashes operating on invalid in-memory structures. Attempts to access such a inode will now error out in the verifier rather than allowing modification operations to proceed. Reported-by: Wen Xu <[email protected]> Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> [darrick: fix a typedef, add some braces and breaks to shut up compiler warnings] Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions