summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-06-01 13:49:52 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-06-03 15:56:02 -0700
commitc809d7e948a131cba8fdf9fbd0b50e1f59255f50 (patch)
tree34e8290f7d474a608d92f18902215de759499f8c /fs/xfs/xfs_icache.h
parentc1115c0cba2b82e71ec77e794c684ac87160fcf6 (diff)
downloadlinux-c809d7e948a131cba8fdf9fbd0b50e1f59255f50.tar.gz
linux-c809d7e948a131cba8fdf9fbd0b50e1f59255f50.tar.bz2
linux-c809d7e948a131cba8fdf9fbd0b50e1f59255f50.zip
xfs: pass the goal of the incore inode walk to xfs_inode_walk()
As part of removing the indirect calls and radix tag implementation details from the incore inode walk loop, create an enum to represent the goal of the inode iteration. More immediately, this separate removes the need for the "ICI_NOTAG" define which makes little sense. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_icache.h')
-rw-r--r--fs/xfs/xfs_icache.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h
index d9baa6df1121..c4274c45d914 100644
--- a/fs/xfs/xfs_icache.h
+++ b/fs/xfs/xfs_icache.h
@@ -18,15 +18,6 @@ struct xfs_eofblocks {
};
/*
- * tags for inode radix tree
- */
-#define XFS_ICI_NO_TAG (-1) /* special flag for an untagged lookup
- in xfs_inode_walk */
-#define XFS_ICI_RECLAIM_TAG 0 /* inode is to be reclaimed */
-/* Inode has speculative preallocations (posteof or cow) to clean. */
-#define XFS_ICI_BLOCKGC_TAG 1
-
-/*
* Flags for xfs_iget()
*/
#define XFS_IGET_CREATE 0x1