mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue