summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/inode_repair.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-03 20:18:48 -0800
committerDarrick J. Wong <djwong@kernel.org>2024-11-05 13:38:30 -0800
commit4d272929a5258074328dae206c935634e0fd1a54 (patch)
treec6fe759a83e79973158552ae0115583a72b14d5c /fs/xfs/scrub/inode_repair.c
parentfdf5703b61101eb29747f7ed23ad57192cf277fd (diff)
downloadlinux-4d272929a5258074328dae206c935634e0fd1a54.tar.gz
linux-4d272929a5258074328dae206c935634e0fd1a54.tar.bz2
linux-4d272929a5258074328dae206c935634e0fd1a54.zip
xfs: rename metadata inode predicates
The predicate xfs_internal_inum tells us if an inumber refers to one of the inodes rooted in the superblock. Soon we're going to have internal inodes in a metadata directory tree, so this helper should be renamed to capture its limited scope. Ondisk inodes will soon have a flag to indicate that they're metadata inodes. Head off some confusion by renaming the xfs_is_metadata_inode predicate to xfs_is_internal_inode. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub/inode_repair.c')
-rw-r--r--fs/xfs/scrub/inode_repair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/inode_repair.c b/fs/xfs/scrub/inode_repair.c
index 5da9e1a387a8..9085d6d11aeb 100644
--- a/fs/xfs/scrub/inode_repair.c
+++ b/fs/xfs/scrub/inode_repair.c
@@ -1762,7 +1762,7 @@ xrep_inode_pptr(
* Metadata inodes are rooted in the superblock and do not have any
* parents.
*/
- if (xfs_is_metadata_inode(ip))
+ if (xfs_is_internal_inode(ip))
return 0;
/* Inode already has an attr fork; no further work possible here. */