commit | 4338ab6a750303cbae4cc76cc7de5edba6598ebe | [log] [tgz] |
---|---|---|
author | Tao Ma <tao.ma@oracle.com> | Mon Mar 03 10:53:02 2008 +0800 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Mon Mar 10 15:14:07 2008 -0700 |
tree | 91f5d507fd7441521fac9d44b268758fbd6de4e9 | |
parent | 90d99779a4cc134daaf8910d814b7a8a5d1e8970 [diff] |
ocfs2: Fix an endian bug in online resize. In ocfs2_group_add, 'cr' is a disk field of type 'ocfs2_chain_rec', and we were putting cpu byteorder values into it. Swap things to the right endian before storing. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>