mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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 <dchinner@redhat.com> Reviewed-by: Chandan Babu R <chandan.babu@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
parent
1005dd019c
commit
22d53f480c
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue