Skip to content

Commit

Permalink
xfs: fix u32 type usage in sb validation function
Browse files Browse the repository at this point in the history
Don't use u32, use uint32_t, because this won't work in xfsprogs.

Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Eric Sandeen <[email protected]>
  • Loading branch information
djwong committed Feb 1, 2018
1 parent 1e369b0 commit 131fa58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/xfs/libxfs/xfs_sb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 131fa58

Please sign in to comment.