diff options
author | Dave Chinner <[email protected]> | 2023-04-12 15:48:50 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2023-04-12 15:48:50 +1000 |
commit | aa88019851a85df80cb77f143758b13aee09e3d9 (patch) | |
tree | e13d9bf11c2c2a7336457ad4846a9cbca2d53480 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d (diff) |
xfs: don't consider future format versions valid
In commit fe08cc504448 we reworked the valid superblock version
checks. If it is a V5 filesystem, it is always valid, then we
checked if the version was less than V4 (reject) and then checked
feature fields in the V4 flags to determine if it was valid.
What we missed was that if the version is not V4 at this point,
we shoudl reject the fs. i.e. the check current treats V6+
filesystems as if it was a v4 filesystem. Fix this.
cc: [email protected]
Fixes: fe08cc504448 ("xfs: open code sb verifier feature checks")
Signed-off-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions