xfs: fix backwards endian conversion in scrub
Fix a backwards endian conversion of a constant. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
This commit is contained in:
parent
c1a4447f5e
commit
3d129e1be3
|
@ -399,7 +399,7 @@ xchk_agf_xref_cntbt(
|
|||
if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur))
|
||||
return;
|
||||
if (!have) {
|
||||
if (agf->agf_freeblks != be32_to_cpu(0))
|
||||
if (agf->agf_freeblks != cpu_to_be32(0))
|
||||
xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue