diff options
author | Sheng Yong <shengyong1@huawei.com> | 2016-01-30 09:16:37 +0000 |
---|---|---|
committer | luca020400 <luca.stefani.ge1@gmail.com> | 2016-04-04 17:16:18 +0200 |
commit | f94c606b5320cf9fa38336987d027dd383369f89 (patch) | |
tree | 4438440b4d4739944e85a79147e013221b5ef3fe | |
parent | 6bcd4d121518c507dc85fe5b0adc4a08ed47ab9f (diff) | |
download | android_external_f2fs-tools-f94c606b5320cf9fa38336987d027dd383369f89.tar.gz android_external_f2fs-tools-f94c606b5320cf9fa38336987d027dd383369f89.tar.bz2 android_external_f2fs-tools-f94c606b5320cf9fa38336987d027dd383369f89.zip |
f2fs-tools: fix endianness of on-disk check_sum in summary_footer
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r-- | include/f2fs_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h index d0727f9..19e9859 100644 --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -730,7 +730,7 @@ struct f2fs_summary { struct summary_footer { unsigned char entry_type; /* SUM_TYPE_XXX */ - __u32 check_sum; /* summary checksum */ + __le32 check_sum; /* summary checksum */ } __attribute__((packed)); #define SUM_JOURNAL_SIZE (F2FS_BLKSIZE - SUM_FOOTER_SIZE -\ |