third_party_f2fs-tools/fsck
Jaegeuk Kim 33dacab9a8 fsck.f2fs: fix wrong i_name check for directory
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>
2016-12-22 13:53:18 -08:00
..
defrag.c defrag.f2fs: return error for no space case 2016-11-02 18:01:55 -07:00
dir.c sload.f2fs: not support to find or add files in inline_dir directory 2016-11-02 21:19:37 -07:00
dump.c dump.f2fs: fix an error in dump nat pack num 2016-11-21 17:02:33 -08:00
f2fs.h fsck.f2fs: remove duplicated header files 2016-11-28 21:26:15 -08:00
fsck.c fsck.f2fs: fix wrong i_name check for directory 2016-12-22 13:53:18 -08:00
fsck.h fsck.f2fs: flush curseg sit entries 2016-11-23 10:12:56 -08:00
main.c f2fs-tools: support multiple devices 2016-11-09 18:03:47 -08:00
Makefile.am sload.f2fs: support loading files into partition directly 2016-04-18 21:11:26 -04:00
mount.c fsck.f2fs: flush curseg sit entries 2016-11-23 10:12:56 -08:00
node.c sload.f2fs: support loading files into partition directly 2016-04-18 21:11:26 -04:00
node.h sload.f2fs: support loading files into partition directly 2016-04-18 21:11:26 -04:00
resize.c resize.f2fs: remove unused parameters 2016-12-12 11:09:30 -08:00
segment.c sload.f2fs: support loading files into partition directly 2016-04-18 21:11:26 -04:00
sload.c sload.f2fs: allow to build without libselinux 2016-10-23 14:36:49 -07:00
xattr.c sload.f2fs: support loading files into partition directly 2016-04-18 21:11:26 -04:00
xattr.h fsck.f2fs: remove duplicated header files 2016-11-28 21:26:15 -08:00