diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-06-01 22:49:52 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-06-04 00:56:02 +0200 |
commit | c809d7e948a131cba8fdf9fbd0b50e1f59255f50 (patch) | |
tree | 34e8290f7d474a608d92f18902215de759499f8c /fs/xfs/xfs_icache.h | |
parent | xfs: rename xfs_inode_walk functions to xfs_icwalk (diff) | |
download | linux-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.h | 9 |
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 |