summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-06-01 22:49:52 +0200
committerDarrick J. Wong <djwong@kernel.org>2021-06-04 00:56:02 +0200
commitc809d7e948a131cba8fdf9fbd0b50e1f59255f50 (patch)
tree34e8290f7d474a608d92f18902215de759499f8c /fs/xfs/xfs_icache.h
parentxfs: rename xfs_inode_walk functions to xfs_icwalk (diff)
downloadlinux-c809d7e948a131cba8fdf9fbd0b50e1f59255f50.tar.xz
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