From: Sheng Yong Date: Thu, 28 Jan 2016 11:40:26 +0000 (+0000) Subject: f2fs: fix endianness of on-disk summary_footer X-Git-Tag: v4.6~294^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=479c8bc40c51535bf496440aa1d6af26e4ff9362;p=platform%2Fkernel%2Flinux-amlogic.git f2fs: fix endianness of on-disk summary_footer Signed-off-by: Sheng Yong Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index 44ae822..ac80402 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h @@ -345,7 +345,7 @@ struct f2fs_summary { struct summary_footer { unsigned char entry_type; /* SUM_TYPE_XXX */ - __u32 check_sum; /* summary checksum */ + __le32 check_sum; /* summary checksum */ } __packed; #define SUM_JOURNAL_SIZE (F2FS_BLKSIZE - SUM_FOOTER_SIZE -\