aboutsummaryrefslogtreecommitdiffstats
path: root/fsck/f2fs.h
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2016-03-14 14:16:54 +0800
committerLuca Stefani <luca.stefani.ge1@gmail.com>2016-11-12 11:32:44 +0100
commit376c258c97b83f3b02440e4fa4313ff9e26bde64 (patch)
tree6e479a5986d4505fc14e7cb5a8a4892fff581a92 /fsck/f2fs.h
parent2e43334233ed12bd5d1cdd3041b1c47366f9c17c (diff)
downloadandroid_external_f2fs-tools-376c258c97b83f3b02440e4fa4313ff9e26bde64.tar.gz
android_external_f2fs-tools-376c258c97b83f3b02440e4fa4313ff9e26bde64.tar.bz2
android_external_f2fs-tools-376c258c97b83f3b02440e4fa4313ff9e26bde64.zip
fsck.f2fs: count the number of inodes during building nat_area_bitmap
The nid and ino of an inode are the same. So during building nat_area_bitmap, we can know which nat entry represents an inode, thus, we can count the number of inodes. Then in fsck_chk_meta, the amount of inodes can be compared with that recorded in CP. Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fsck/f2fs.h')
0 files changed, 0 insertions, 0 deletions