diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-13 12:22:00 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-13 12:31:37 -0400 |
commit | 3a251f04fe97c3d335b745c98e4b377e3c3899f2 (patch) | |
tree | b5835ebf3639fe4e8bc9d71abbb36891080e777e /fs/ocfs2/alloc.c | |
parent | 6ed3cf2cdfce4c9f1d73171bd3f27d9cb77b734e (diff) |
ocfs2: ->l_next_free_req breakage on big-endian
It's le16, not le32...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ocfs2/alloc.c')
-rw-r--r-- | fs/ocfs2/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index 3165aebb43c..31b9463fba1 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c @@ -1134,7 +1134,7 @@ static int ocfs2_adjust_rightmost_branch(handle_t *handle, } el = path_leaf_el(path); - rec = &el->l_recs[le32_to_cpu(el->l_next_free_rec) - 1]; + rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec) - 1]; ocfs2_adjust_rightmost_records(handle, et, path, rec); |