diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-09 12:34:28 -0500 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-09 18:50:29 -0500 |
commit | 65a7935ddc9a1f0c723842776259d76394b4bd11 (patch) | |
tree | b005cc780bed87531976c54df011d25bf5088c93 | |
parent | ae82968ee9b404b9fc101f9d75e171c78797a4d1 (diff) |
xfs: remove u_int* type usage
Use the uint* types instead of the u_int* types. This will (hopefully)
pair with an xfsprogs cleanup.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
-rw-r--r-- | fs/xfs/libxfs/xfs_format.h | 2 | ||||
-rw-r--r-- | fs/xfs/xfs_attr_list.c | 4 | ||||
-rw-r--r-- | fs/xfs/xfs_ioctl.c | 4 | ||||
-rw-r--r-- | fs/xfs/xfs_ioctl.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 2e047e76db2f..1acb584fc5f7 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h | |||
@@ -1147,7 +1147,7 @@ static inline void xfs_dinode_put_rdev(struct xfs_dinode *dip, xfs_dev_t rdev) | |||
1147 | * Dquot and dquot block format definitions | 1147 | * Dquot and dquot block format definitions |
1148 | */ | 1148 | */ |
1149 | #define XFS_DQUOT_MAGIC 0x4451 /* 'DQ' */ | 1149 | #define XFS_DQUOT_MAGIC 0x4451 /* 'DQ' */ |
1150 | #define XFS_DQUOT_VERSION (u_int8_t)0x01 /* latest version number */ | 1150 | #define XFS_DQUOT_VERSION (uint8_t)0x01 /* latest version number */ |
1151 | 1151 | ||
1152 | /* | 1152 | /* |
1153 | * This is the main portion of the on-disk representation of quota | 1153 | * This is the main portion of the on-disk representation of quota |
diff --git a/fs/xfs/xfs_attr_list.c b/fs/xfs/xfs_attr_list.c index a3603101e5f0..3e59a348ea71 100644 --- a/fs/xfs/xfs_attr_list.c +++ b/fs/xfs/xfs_attr_list.c | |||
@@ -546,8 +546,8 @@ xfs_attr_list_int( | |||
546 | #define ATTR_ENTBASESIZE /* minimum bytes used by an attr */ \ | 546 | #define ATTR_ENTBASESIZE /* minimum bytes used by an attr */ \ |
547 | (((struct attrlist_ent *) 0)->a_name - (char *) 0) | 547 | (((struct attrlist_ent *) 0)->a_name - (char *) 0) |
548 | #define ATTR_ENTSIZE(namelen) /* actual bytes used by an attr */ \ | 548 | #define ATTR_ENTSIZE(namelen) /* actual bytes used by an attr */ \ |
549 | ((ATTR_ENTBASESIZE + (namelen) + 1 + sizeof(u_int32_t)-1) \ | 549 | ((ATTR_ENTBASESIZE + (namelen) + 1 + sizeof(uint32_t)-1) \ |
550 | & ~(sizeof(u_int32_t)-1)) | 550 | & ~(sizeof(uint32_t)-1)) |
551 | 551 | ||
552 | /* | 552 | /* |
553 | * Format an attribute and copy it out to the user's buffer. | 553 | * Format an attribute and copy it out to the user's buffer. |
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c index 65a7951957c2..20dc65fef6a4 100644 --- a/fs/xfs/xfs_ioctl.c +++ b/fs/xfs/xfs_ioctl.c | |||
@@ -311,8 +311,8 @@ xfs_readlink_by_handle( | |||
311 | int | 311 | int |
312 | xfs_set_dmattrs( | 312 | xfs_set_dmattrs( |
313 | xfs_inode_t *ip, | 313 | xfs_inode_t *ip, |
314 | u_int evmask, | 314 | uint evmask, |
315 | u_int16_t state) | 315 | uint16_t state) |
316 | { | 316 | { |
317 | xfs_mount_t *mp = ip->i_mount; | 317 | xfs_mount_t *mp = ip->i_mount; |
318 | xfs_trans_t *tp; | 318 | xfs_trans_t *tp; |
diff --git a/fs/xfs/xfs_ioctl.h b/fs/xfs/xfs_ioctl.h index e86c3ea137d2..8de879f0c7d5 100644 --- a/fs/xfs/xfs_ioctl.h +++ b/fs/xfs/xfs_ioctl.h | |||
@@ -86,7 +86,7 @@ xfs_file_compat_ioctl( | |||
86 | extern int | 86 | extern int |
87 | xfs_set_dmattrs( | 87 | xfs_set_dmattrs( |
88 | struct xfs_inode *ip, | 88 | struct xfs_inode *ip, |
89 | u_int evmask, | 89 | uint evmask, |
90 | u_int16_t state); | 90 | uint16_t state); |
91 | 91 | ||
92 | #endif | 92 | #endif |