xfs: convert attr type 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
ce522ba9ef
commit
a4d98629c9
@ -688,10 +688,10 @@ struct xfs_attr3_leafblock {
|
|||||||
#define XFS_ATTR_ROOT_BIT 1 /* limit access to trusted attrs */
|
#define XFS_ATTR_ROOT_BIT 1 /* limit access to trusted attrs */
|
||||||
#define XFS_ATTR_SECURE_BIT 2 /* limit access to secure attrs */
|
#define XFS_ATTR_SECURE_BIT 2 /* limit access to secure attrs */
|
||||||
#define XFS_ATTR_INCOMPLETE_BIT 7 /* attr in middle of create/delete */
|
#define XFS_ATTR_INCOMPLETE_BIT 7 /* attr in middle of create/delete */
|
||||||
#define XFS_ATTR_LOCAL (1 << XFS_ATTR_LOCAL_BIT)
|
#define XFS_ATTR_LOCAL (1u << XFS_ATTR_LOCAL_BIT)
|
||||||
#define XFS_ATTR_ROOT (1 << XFS_ATTR_ROOT_BIT)
|
#define XFS_ATTR_ROOT (1u << XFS_ATTR_ROOT_BIT)
|
||||||
#define XFS_ATTR_SECURE (1 << XFS_ATTR_SECURE_BIT)
|
#define XFS_ATTR_SECURE (1u << XFS_ATTR_SECURE_BIT)
|
||||||
#define XFS_ATTR_INCOMPLETE (1 << XFS_ATTR_INCOMPLETE_BIT)
|
#define XFS_ATTR_INCOMPLETE (1u << XFS_ATTR_INCOMPLETE_BIT)
|
||||||
#define XFS_ATTR_NSP_ONDISK_MASK (XFS_ATTR_ROOT | XFS_ATTR_SECURE)
|
#define XFS_ATTR_NSP_ONDISK_MASK (XFS_ATTR_ROOT | XFS_ATTR_SECURE)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user