Home
last modified time | relevance | path

Searched hist:"4338 ab6a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ocfs2/
H A Dresize.c4338ab6a Sun Mar 02 20:53:02 CST 2008 Tao Ma <tao.ma@oracle.com> 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>
4338ab6a Sun Mar 02 20:53:02 CST 2008 Tao Ma <tao.ma@oracle.com> 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>