diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-13 18:28:21 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-13 18:31:41 +0200 |
commit | 28748b325dc2d730ccc312830a91c4ae0c0d9379 (patch) | |
tree | 755255c8ee2facfa7f8ad4268dc198350d166089 | |
parent | ocfs: ->rl_used breakage on big-endian (diff) | |
download | linux-28748b325dc2d730ccc312830a91c4ae0c0d9379.tar.xz linux-28748b325dc2d730ccc312830a91c4ae0c0d9379.zip |
ocfs2: ->rl_count endianness breakage
le16, not le32...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/ocfs2/refcounttree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index bc90ebcec169..9f32d7cbb7a3 100644 --- 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, - le32_to_cpu(rl->rl_count), le16_to_cpu(rl->rl_used)); + le16_to_cpu(rl->rl_count), le16_to_cpu(rl->rl_used)); /* * XXX: Improvement later. |