f2fs: fix crc endian conversion
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 19 Jun 2013 11:47:19 +0000 (20:47 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 1 Jul 2013 23:47:35 +0000 (08:47 +0900)
commit7e586fa0244578320fcced9cc08c6b124f727c35
treefb95e07a67d211f84d8722b4240c4c826822c4df
parent696c018c7718f5e33e1107da19c4d64a25018878
f2fs: fix crc endian conversion

While calculating CRC for the checkpoint block, we use __u32, but when storing
the crc value to the disk, we use __le32.

Let's fix the inconsistency.

Reported-and-Tested-by: Oded Gabbay <ogabbay@advaoptical.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h