diff options
author | Darrick J. Wong <djwong@kernel.org> | 2025-02-03 03:50:14 +0300 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-02-14 11:40:24 +0300 |
commit | 6e33017c3276e3af7f79f61f3b3648e4a4c03d34 (patch) | |
tree | 29cef2687d62592a38983f1ab439f5fd82c00740 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 66314e9a57a050f95cb0ebac904f5ab047a8926e (diff) | |
download | linux-6e33017c3276e3af7f79f61f3b3648e4a4c03d34.tar.xz |
xfs: fix data fork format filtering during inode repair
Coverity noticed that xrep_dinode_bad_metabt_fork never runs because
XFS_DINODE_FMT_META_BTREE is always filtered out in the mode selection
switch of xrep_dinode_check_dfork.
Metadata btrees are allowed only in the data forks of regular files, so
add this case explicitly. I guess this got fubard during a refactoring
prior to 6.13 and I didn't notice until now. :/
Coverity-id: 1617714
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions