Skip to content

Commit

Permalink
ocfs2: ->rl_count endianness breakage
Browse files Browse the repository at this point in the history
le16, not le32...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Apr 13, 2012
1 parent e1bf4cc commit 28748b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ocfs2/refcounttree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 28748b3

Please sign in to comment.