commit | 3a251f04fe97c3d335b745c98e4b377e3c3899f2 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Apr 13 12:22:00 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Apr 13 12:31:37 2012 -0400 |
tree | b5835ebf3639fe4e8bc9d71abbb36891080e777e | |
parent | 6ed3cf2cdfce4c9f1d73171bd3f27d9cb77b734e [diff] [blame] |
ocfs2: ->l_next_free_req breakage on big-endian It's le16, not le32... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c index 3165aeb..31b9463 100644 --- a/fs/ocfs2/alloc.c +++ b/fs/ocfs2/alloc.c
@@ -1134,7 +1134,7 @@ } 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);