ocfs2: Fix an endian bug in online resize.
authorTao Ma <tao.ma@oracle.com>
Mon, 3 Mar 2008 02:53:02 +0000 (10:53 +0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 10 Mar 2008 22:14:07 +0000 (15:14 -0700)
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>
fs/ocfs2/resize.c

Simple merge