ocfs2: ->rl_count endianness breakage
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 16:28:21 +0000 (12:28 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 13 Apr 2012 16:31:41 +0000 (12:31 -0400)
le16, not le32...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ocfs2/refcounttree.c

index bc90ebcec1699f20ebe92a494b796e8dcd62929e..9f32d7cbb7a3701f1f28d938b17ae4d057dc4e84 100644 (file)
@@ -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.