forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
1e369b0e19
commit
131fa58d39
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user