commit | 05ee2f4efa17a532018c69891678693268a96adc | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Tue Feb 23 19:45:32 2016 +0800 |
committer | Steve Kondik <steve@cyngn.com> | Wed Aug 24 11:43:29 2016 -0700 |
tree | 0ed3f9bec5f489728ffdf91dcb144c41279468f9 | |
parent | e25f32509f5e70917bef3abe2d6ca55253b0207d [diff] |
fsck.f2fs: fix corrupted nat entry [0] The first nat entry must be null. If it is corrupted, we set its bit in nat_area_bitmap, without increasing valid_nat_entry_cnt, fsck_verify will nullify it at last. Reported-by: Cheng Yinchao <chengyinchao@huawei.com> Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>