Re: [Ocfs2-devel] [PATCH] ocfs2: Remove the redundant cpu_to_le64.

2010-07-12 Thread Joel Becker
On Thu, Jul 08, 2010 at 11:11:11AM +0800, Tao Ma wrote: In ocfs2_block_group_alloc, we set c_blkno by bg-bg_blkno. But actually bg-bg_blkno is already changed to little endian in ocfs2_block_group_fill. So remove the extra cpu_to_le64. Reported-by: Marcos Matsunaga

[Ocfs2-devel] [PATCH] ocfs2: Remove the redundant cpu_to_le64.

2010-07-07 Thread Tao Ma
In ocfs2_block_group_alloc, we set c_blkno by bg-bg_blkno. But actually bg-bg_blkno is already changed to little endian in ocfs2_block_group_fill. So remove the extra cpu_to_le64. Reported-by: Marcos Matsunaga marcos.matsun...@oracle.com Signed-off-by: Tao Ma tao...@oracle.com ---