projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a4447
)
xfs: fix backwards endian conversion in scrub
author
Darrick J. Wong
<darrick.wong@oracle.com>
Mon, 25 Feb 2019 17:36:36 +0000
(09:36 -0800)
committer
Darrick J. Wong
<darrick.wong@oracle.com>
Mon, 25 Feb 2019 18:16:42 +0000
(10:16 -0800)
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>
fs/xfs/scrub/agheader.c
patch
|
blob
|
history
diff --git
a/fs/xfs/scrub/agheader.c
b/fs/xfs/scrub/agheader.c
index
9d4e829
..
ddf06bf
100644
(file)
--- a/
fs/xfs/scrub/agheader.c
+++ b/
fs/xfs/scrub/agheader.c
@@
-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;
}