From: Darrick J. Wong Date: Mon, 27 Nov 2017 17:46:31 +0000 (-0600) Subject: xfs: fix type usage X-Git-Tag: v4.15.0-rc1~143^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04842327d74016b539e83a237e90631fe89d3511;p=thirdparty%2Fxfsprogs-dev.git xfs: fix type usage Source kernel commit: 2015a63dce8d73a439232a0d5162c88d8513101e Be consistent about using uint32_t/uint8_t instead of u32/u8. This is more so that we don't have to maintain /those/ types in xfsprogs. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_log_format.h b/libxfs/xfs_log_format.h index c6d3b0a77..349d9f8ed 100644 --- a/libxfs/xfs_log_format.h +++ b/libxfs/xfs_log_format.h @@ -274,7 +274,7 @@ struct xfs_inode_log_format { uint64_t ilf_ino; /* inode number */ union { uint32_t ilfu_rdev; /* rdev value for dev inode*/ - __u8 __pad[16]; /* unused */ + uint8_t __pad[16]; /* unused */ } ilf_u; int64_t ilf_blkno; /* blkno of inode buffer */ int32_t ilf_len; /* len of inode buffer */ @@ -295,7 +295,7 @@ struct xfs_inode_log_format_32 { uint64_t ilf_ino; /* inode number */ union { uint32_t ilfu_rdev; /* rdev value for dev inode*/ - __u8 __pad[16]; /* unused */ + uint8_t __pad[16]; /* unused */ } ilf_u; int64_t ilf_blkno; /* blkno of inode buffer */ int32_t ilf_len; /* len of inode buffer */