diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-07-29 15:00:58 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-08-03 10:30:28 +0200 |
| commit | eb6b2cc1fc8ad566d746d128a559989ff0bba5cc (patch) | |
| tree | 34a3492bfc199643a22cc4ae7602f4150a594425 /tools/perf/scripts/python | |
| parent | ec6978e6bf68fb6f51edd4f700f9a554dc0da894 (diff) | |
xfs: check v5 superblock features early
When working on a new features that reuses the existing pad in the
superblock, I noticed that mounting such a file system on an old kernel
logs a rather confusing warning:
XFS (vdc): Metadir superblock padding fields must be zero.
This is because we only validate the various feature fields in v5
superblocks after the common superblock validation helper is called.
Fix this by calling the feature validation first.
Fixes: eca383fcd63b ("xfs: refactor superblock verifiers")
Cc: <stable@vger.kernel.org> # v4.19
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
