summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iwalk.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-08-28 14:39:46 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-08-30 22:43:56 -0700
commit39ee2239a5a212cbba9d96050bd11cfd0f26634d (patch)
tree34437dec1f39aeb960e2d6999560757796983ffb /fs/xfs/xfs_iwalk.h
parente7ee96dfb8c2687a29d2c5c3b06c967fa54b839c (diff)
xfs: remove all *_ITER_CONTINUE values
Iterator functions already use 0 to signal "continue iterating", so get rid of the #defines and just do it directly. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_iwalk.h')
-rw-r--r--fs/xfs/xfs_iwalk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iwalk.h b/fs/xfs/xfs_iwalk.h
index 742360d51378..37a795f03267 100644
--- a/fs/xfs/xfs_iwalk.h
+++ b/fs/xfs/xfs_iwalk.h
@@ -17,8 +17,6 @@
/* Walk all inodes in the filesystem starting from @startino. */
typedef int (*xfs_iwalk_fn)(struct xfs_mount *mp, struct xfs_trans *tp,
xfs_ino_t ino, void *data);
-/* Return values for xfs_iwalk_fn. */
-#define XFS_IWALK_CONTINUE (XFS_ITER_CONTINUE)
int xfs_iwalk(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino,
unsigned int flags, xfs_iwalk_fn iwalk_fn,