summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icache.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-03 20:18:52 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-11-05 13:38:31 -0800
commit5d9b54a4ef34380aeba844a59e60abb7c65a7ff7 (patch)
tree906e9ef305c28dee99c759da941e7b2bc08ef4c6 /fs/xfs/xfs_icache.c
parent7297fd0bebbd70efd12f72632a0f3ac49a8f59fe (diff)
xfs: read and write metadata inode directory tree
Plumb in the bits we need to load metadata inodes from a named entry in a metadir directory, create (or hardlink) inodes into a metadir directory, create metadir directories, and flag inodes as being metadata files. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_icache.c')
-rw-r--r--fs/xfs/xfs_icache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c
index 48543bf0f5ce..5171ad93fc40 100644
--- a/fs/xfs/xfs_icache.c
+++ b/fs/xfs/xfs_icache.c
@@ -850,7 +850,7 @@ xfs_trans_metafile_iget(
int error;
error = xfs_iget(mp, tp, ino, 0, 0, &ip);
- if (error == -EFSCORRUPTED)
+ if (error == -EFSCORRUPTED || error == -EINVAL)
goto whine;
if (error)
return error;