diff options
author | Dave Chinner <david@fromorbit.com> | 2022-04-21 16:45:03 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-04-21 16:45:03 +1000 |
commit | 898a768f54bf3c910392eb7987b47ebddc28e444 (patch) | |
tree | 82bcd41e84ada3f0861c1ac2a5d9d3e8a0a6a5e2 /fs/xfs/xfs_log_priv.h | |
parent | 1499b8a3a37baf5a78ee8044e9a8fa0471268d74 (diff) | |
parent | c60d13ea657f69a0f90c7ba131c16e0a25598488 (diff) | |
download | linux-898a768f54bf3c910392eb7987b47ebddc28e444.tar.gz linux-898a768f54bf3c910392eb7987b47ebddc28e444.tar.bz2 linux-898a768f54bf3c910392eb7987b47ebddc28e444.zip |
Merge branch 'guilt/xfs-unsigned-flags-5.18' into xfs-5.19-for-next
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index 401cdc400980..438df48a84c4 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h @@ -51,8 +51,8 @@ enum xlog_iclog_state { /* * In core log flags */ -#define XLOG_ICL_NEED_FLUSH (1 << 0) /* iclog needs REQ_PREFLUSH */ -#define XLOG_ICL_NEED_FUA (1 << 1) /* iclog needs REQ_FUA */ +#define XLOG_ICL_NEED_FLUSH (1u << 0) /* iclog needs REQ_PREFLUSH */ +#define XLOG_ICL_NEED_FUA (1u << 1) /* iclog needs REQ_FUA */ #define XLOG_ICL_STRINGS \ { XLOG_ICL_NEED_FLUSH, "XLOG_ICL_NEED_FLUSH" }, \ @@ -62,7 +62,7 @@ enum xlog_iclog_state { /* * Log ticket flags */ -#define XLOG_TIC_PERM_RESERV 0x1 /* permanent reservation */ +#define XLOG_TIC_PERM_RESERV (1u << 0) /* permanent reservation */ #define XLOG_TIC_FLAGS \ { XLOG_TIC_PERM_RESERV, "XLOG_TIC_PERM_RESERV" } @@ -165,7 +165,7 @@ typedef struct xlog_ticket { char t_ocnt; /* original count : 1 */ char t_cnt; /* current count : 1 */ char t_clientid; /* who does this belong to; : 1 */ - char t_flags; /* properties of reservation : 1 */ + uint8_t t_flags; /* properties of reservation : 1 */ /* reservation array fields */ uint t_res_num; /* num in array : 4 */ |