On 11/25/2016 11:55 PM, k...@vodka.home.kg wrote:
>
> The only thing I changed in your patch is :
>
> - if (addr >= F2FS_RAW_SUPER(sbi)->block_count ||
> + if (le64_to_cpu(addr >= F2FS_RAW_SUPER(sbi)->block_count) ||
> addr < SM_I(sbi)->main_blkaddr)
The only thing I changed in your patch is :
- if (addr >= F2FS_RAW_SUPER(sbi)->block_count ||
+ if (le64_to_cpu(addr >= F2FS_RAW_SUPER(sbi)->block_count) ||
addr < SM_I(sbi)->main_blkaddr) {
You're passing boolean to le64_to_cpu which is obviously erro
Reported-by:
Signed-off-by: Sheng Yong
---
Hi, k
Could you please try this? I think I've correct all endianness issue.
And can I have your reported-by and test-by?
thanks,
Sheng
---
fsck/dir.c| 6 +++---
fsck/dump.c | 10 +-
fsck/f2fs.h | 4 ++--
fsck/mount.c