summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-06-18 21:57:06 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-06-21 20:12:46 +0300
commit77b4d2861e8381d00e4b9bd1be2a355dda99ff60 (patch)
tree371b245493c10fa287b6bebcf6c12825745d19d3 /fs/xfs/xfs_icache.h
parentff7bebeb91f8cc2e26e7dabbf301da5ec0e9328c (diff)
downloadlinux-77b4d2861e8381d00e4b9bd1be2a355dda99ff60.tar.xz
xfs: separate primary inode selection criteria in xfs_iget_cache_hit
During review of the v6 deferred inode inactivation patchset[1], Dave commented that _cache_hit should have a clear separation between inode selection criteria and actions performed on a selected inode. Move a hunk to make this true, and compact the shrink cases in the function. [1] https://lore.kernel.org/linux-xfs/162310469340.3465262.504398465311182657.stgit@locust/T/#mca6d958521cb88bbc1bfe1a30767203328d410b5 Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_icache.h')
0 files changed, 0 insertions, 0 deletions