From: Darrick J. Wong Date: Tue, 30 Jan 2018 02:49:35 +0000 (-0800) Subject: xfs: fix u32 type usage in sb validation function X-Git-Tag: v4.19~1640^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=131fa58d391fc0939f6c66b23776ad5df5db20f9;p=platform%2Fkernel%2Flinux-rpi3.git xfs: fix u32 type usage in sb validation function Don't use u32, use uint32_t, because this won't work in xfsprogs. Signed-off-by: Darrick J. Wong Reviewed-by: Eric Sandeen --- diff --git a/fs/xfs/libxfs/xfs_sb.c b/fs/xfs/libxfs/xfs_sb.c index 46af6aa..a55f7a4 100644 --- a/fs/xfs/libxfs/xfs_sb.c +++ b/fs/xfs/libxfs/xfs_sb.c @@ -118,8 +118,8 @@ xfs_mount_validate_sb( bool check_inprogress, bool check_version) { - u32 agcount = 0; - u32 rem; + uint32_t agcount = 0; + uint32_t rem; if (sbp->sb_magicnum != XFS_SB_MAGIC) { xfs_warn(mp, "bad magic number");