]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: don't fail repairs on metadata files with no attr fork
authorDarrick J. Wong <djwong@kernel.org>
Thu, 17 Oct 2024 18:58:10 +0000 (11:58 -0700)
committerCarlos Maiolino <cem@kernel.org>
Tue, 22 Oct 2024 11:37:18 +0000 (13:37 +0200)
commitaf8512c5277d17aae09be5305daa9118d2fa8881
tree90d8aed2df2b221ca838b34ae6b9f221eea8aeb0
parentf6f91d290c8b9da6e671bd15f306ad2d0e635a04
xfs: don't fail repairs on metadata files with no attr fork

Fix a minor bug where we fail repairs on metadata files that do not have
attr forks because xrep_metadata_inode_subtype doesn't filter ENOENT.

Cc: stable@vger.kernel.org # v6.8
Fixes: 5a8e07e799721b ("xfs: repair the inode core and forks of a metadata inode")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/scrub/repair.c