Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28748b32 authored by Al Viro's avatar Al Viro
Browse files

ocfs2: ->rl_count endianness breakage



le16, not le32...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e1bf4cc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.