mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-27 04:00:57 +00:00
33dacab9a8
We should not check the consistency between i_name and its dentry for directory. The i_name is used only for normal file recovery when conducting roll-forward recovery. Moreover, this condition was totally missing encryption case which is breaking by 1. encrypt ./test 2. mkdir ./test/a 3. mkdir ./test/b 4. rename ./test/a ./test/b -> fsck.f2fs reports wrong inconsistency in terms of i_name. Reported-by: liushuoran <liushuoran@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
||
---|---|---|
.. | ||
defrag.c | ||
dir.c | ||
dump.c | ||
f2fs.h | ||
fsck.c | ||
fsck.h | ||
main.c | ||
Makefile.am | ||
mount.c | ||
node.c | ||
node.h | ||
resize.c | ||
segment.c | ||
sload.c | ||
xattr.c | ||
xattr.h |