[Ocfs2-tools-devel] [PATCH] dirblock.c: Fix byte swapping of dir block trailer

Sunil Mushran sunil.mushran at oracle.com
Wed Sep 8 10:25:21 PDT 2010


On 09/08/2010 09:13 AM, y at suse.cz wrote:
> From: Jan Kara<jack at suse.cz>
>
> ocfs2_swap_dir_trailer() was always nop as it didn't store swapped values thus
> leading to corrupted dir block trailer on big endian machines. Fix the problem
> by storing the values properly.
>
> Signed-off-by: Jan Kara<jack at suse.cz>
> ---
>   libocfs2/dirblock.c |   12 ++++++------
>   1 files changed, 6 insertions(+), 6 deletions(-)
>
>   Sunil, would you include this fix please? Thanks.
>    

Thanks. Checked in.



More information about the Ocfs2-tools-devel mailing list