diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc.c b/fs/xfs/libxfs/xfs_alloc.c index b715668886a4..48aab07e7138 100644 --- a/fs/xfs/libxfs/xfs_alloc.c +++ b/fs/xfs/libxfs/xfs_alloc.c | |||
@@ -570,7 +570,7 @@ xfs_agfl_verify( | |||
570 | 570 | ||
571 | if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid)) | 571 | if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid)) |
572 | return __this_address; | 572 | return __this_address; |
573 | if (be32_to_cpu(agfl->agfl_magicnum) != XFS_AGFL_MAGIC) | 573 | if (agfl->agfl_magicnum != cpu_to_be32(XFS_AGFL_MAGIC)) |
574 | return __this_address; | 574 | return __this_address; |
575 | /* | 575 | /* |
576 | * during growfs operations, the perag is not fully initialised, | 576 | * during growfs operations, the perag is not fully initialised, |