summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iwalk.h
diff options
context:
space:
mode:
authorChandan Babu R <chandan.babu@oracle.com>2022-03-09 12:34:04 +0000
committerChandan Babu R <chandan.babu@oracle.com>2022-04-13 07:02:44 +0000
commit5b35d922c5279804be87cab60e4810403038488b (patch)
tree80a192b10435225a156efd6e66fbf374a21d509b /fs/xfs/xfs_iwalk.h
parent4f86bb4b66c999ad9ddcfd49fec93992eeba2715 (diff)
xfs: Decouple XFS_IBULK flags from XFS_IWALK flags
A future commit will add a new XFS_IBULK flag which will not have a corresponding XFS_IWALK flag. In preparation for the change, this commit separates XFS_IBULK_* flags from XFS_IWALK_* flags. Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_iwalk.h')
-rw-r--r--fs/xfs/xfs_iwalk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_iwalk.h b/fs/xfs/xfs_iwalk.h
index 37a795f03267..83699089755e 100644
--- a/fs/xfs/xfs_iwalk.h
+++ b/fs/xfs/xfs_iwalk.h
@@ -26,7 +26,7 @@ int xfs_iwalk_threaded(struct xfs_mount *mp, xfs_ino_t startino,
unsigned int inode_records, bool poll, void *data);
/* Only iterate inodes within the same AG as @startino. */
-#define XFS_IWALK_SAME_AG (0x1)
+#define XFS_IWALK_SAME_AG (1U << 0)
#define XFS_IWALK_FLAGS_ALL (XFS_IWALK_SAME_AG)