]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit4338ab6a750303cbae4cc76cc7de5edba6598ebe
tree91f5d507fd7441521fac9d44b268758fbd6de4e9
parent90d99779a4cc134daaf8910d814b7a8a5d1e8970
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>
fs/ocfs2/resize.c