]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: rename metadata inode predicates
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:16 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:24 +0000 (18:01 -0800)
commitffcb97b2320bdb146f3541cfaf984ede86576511
tree071f84bffb54880d33e54aad8d140d00bc255fe3
parentbbfcbe40e6eae67840dd95e078e1d3f6784bf90c
xfs: rename metadata inode predicates

Source kernel commit: 4d272929a5258074328dae206c935634e0fd1a54

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>
libxfs/libxfs_api_defs.h
libxfs/xfs_types.c
libxfs/xfs_types.h
repair/rmap.c