projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd5904
)
ocfs2: ->rl_count endianness breakage
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 16:28:21 +0000
(12:28 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 16:51:18 +0000
(09:51 -0700)
commit
28748b325dc2d730ccc312830a91c4ae0c0d9379
upstream.
le16, not le32...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ocfs2/refcounttree.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/refcounttree.c
b/fs/ocfs2/refcounttree.c
index dff1d64f8f53052e9010b39abf223b4df22e0418..15d29ccefd4f766467429d5fd6f3a48091965fee 100644
(file)
--- a/
fs/ocfs2/refcounttree.c
+++ b/
fs/ocfs2/refcounttree.c
@@
-1468,7
+1468,7
@@
static int ocfs2_divide_leaf_refcount_block(struct buffer_head *ref_leaf_bh,
trace_ocfs2_divide_leaf_refcount_block(
(unsigned long long)ref_leaf_bh->b_blocknr,
- le
32
_to_cpu(rl->rl_count), le16_to_cpu(rl->rl_used));
+ le
16
_to_cpu(rl->rl_count), le16_to_cpu(rl->rl_used));
/*
* XXX: Improvement later.