xfs: pass the goal of the incore inode walk to xfs_inode_walk()
authorDarrick J. Wong <djwong@kernel.org>
Tue, 1 Jun 2021 20:49:52 +0000 (13:49 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 3 Jun 2021 22:56:02 +0000 (15:56 -0700)
commitc809d7e948a131cba8fdf9fbd0b50e1f59255f50
tree34e8290f7d474a608d92f18902215de759499f8c
parentc1115c0cba2b82e71ec77e794c684ac87160fcf6
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>
fs/xfs/xfs_icache.c
fs/xfs/xfs_icache.h