]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc50abbeb529a9d8057237b324313ba87189d9263
tree34e8290f7d474a608d92f18902215de759499f8c
parentd9e3de9c3380a9f00e64ea050b4571747017525c
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