aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2022-04-21 10:47:07 +1000
committerDave Chinner <[email protected]>2022-04-21 10:47:07 +1000
commit22d53f480c56e34316d2e5f3757ba1839d47008b (patch)
treeefd89c9deeaba81df1fec8750e99ea8cdcfb0cf7
parent1005dd019c88f556f85cb3632df4d2c702ae95cd (diff)
xfs: convert log item tracepoint flags to unsigned.
5.18 w/ std=gnu11 compiled with gcc-5 wants flags stored in unsigned fields to be unsigned. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Chandan Babu R <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
-rw-r--r--fs/xfs/xfs_trans.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h
index de177842b951..569b68fc6912 100644
--- a/fs/xfs/xfs_trans.h
+++ b/fs/xfs/xfs_trans.h
@@ -58,10 +58,10 @@ struct xfs_log_item {
#define XFS_LI_DIRTY 3 /* log item dirty in transaction */
#define XFS_LI_FLAGS \
- { (1 << XFS_LI_IN_AIL), "IN_AIL" }, \
- { (1 << XFS_LI_ABORTED), "ABORTED" }, \
- { (1 << XFS_LI_FAILED), "FAILED" }, \
- { (1 << XFS_LI_DIRTY), "DIRTY" }
+ { (1u << XFS_LI_IN_AIL), "IN_AIL" }, \
+ { (1u << XFS_LI_ABORTED), "ABORTED" }, \
+ { (1u << XFS_LI_FAILED), "FAILED" }, \
+ { (1u << XFS_LI_DIRTY), "DIRTY" }
struct xfs_item_ops {
unsigned flags;