commit | 31f461cd896062c9bd0a7bc67f367aa61452505c | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Mon Mar 14 14:16:55 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Tue Mar 22 14:10:00 2016 -0700 |
tree | 47fd0298be42c372f3ed0b47be75eeea0c7e6010 | |
parent | bc28669d6b8bbe873b91ca67f6d0fac354d21a13 [diff] |
fsck.f2fs: cache all nat entries and check each of them All nat entries are cached during building nat_area_bitmap, so that, in fsck_chk_meta, we can get and check blk_addr and ino directly, to see if they are in the valid range. Also, blk_addr is checked to see if the block is valid in sit's valid maps. Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>