diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-29 18:49:35 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-31 20:39:20 -0800 |
commit | 131fa58d391fc0939f6c66b23776ad5df5db20f9 (patch) | |
tree | fc7d79e6e2906c3e7da8bfc15ba3650d660c3193 /fs/xfs | |
parent | 1e369b0e199bbfbab5218e1c1443d839700d8884 (diff) | |
download | linux-131fa58d391fc0939f6c66b23776ad5df5db20f9.tar.bz2 |
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 <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/libxfs/xfs_sb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_sb.c b/fs/xfs/libxfs/xfs_sb.c index 46af6aa60a8e..a55f7a45fa78 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"); |