summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-05-31 11:31:59 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-06-03 15:56:03 -0700
commit7fdff52623b4df9c9ae665fe8bb727978c29414e (patch)
tree2579ed43bba36a4dace78cf4e5c248c6e77b1a79 /fs/xfs/xfs_icache.h
parent9d2793ceecb9fd711f70a860685b71129cac5dc9 (diff)
downloadlinux-7fdff52623b4df9c9ae665fe8bb727978c29414e.tar.gz
linux-7fdff52623b4df9c9ae665fe8bb727978c29414e.tar.bz2
linux-7fdff52623b4df9c9ae665fe8bb727978c29414e.zip
xfs: remove iter_flags parameter from xfs_inode_walk_*
The sole iter_flags is XFS_INODE_WALK_INEW_WAIT, and there are no users. Remove the flag, and the parameter, and all the code that used it. 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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/xfs_icache.h b/fs/xfs/xfs_icache.h
index c4274c45d914..3ec00f1fea86 100644
--- a/fs/xfs/xfs_icache.h
+++ b/fs/xfs/xfs_icache.h
@@ -25,11 +25,6 @@ struct xfs_eofblocks {
#define XFS_IGET_DONTCACHE 0x4
#define XFS_IGET_INCORE 0x8 /* don't read from disk or reinit */
-/*
- * flags for AG inode iterator
- */
-#define XFS_INODE_WALK_INEW_WAIT 0x1 /* wait on new inodes */
-
int xfs_iget(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t ino,
uint flags, uint lock_flags, xfs_inode_t **ipp);