f2fs: recovery missing dot dentries in root directory
authorLiu Xue <liuxueliu.liu@huawei.com>
Fri, 26 Feb 2016 06:39:23 +0000 (06:39 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 2 Mar 2016 17:25:33 +0000 (09:25 -0800)
commit8c2b1435b9f48904aaa9401d12b800ca8c4dae05
treed4051c2d8c4e83649e45db6054a44d1e6512ba9b
parent19c7377b56a618c2a6ae1dfef1c22f19ad9d427c
f2fs: recovery missing dot dentries in root directory

If f2fs was corrupted with missing dot dentries in root dirctory,
it needs to recover them after fsck.f2fs set F2FS_INLINE_DOTS flag
in directory inode when fsck.f2fs detects missing dot dentries.

Signed-off-by: Xue Liu <liuxueliu.liu@huawei.com>
Signed-off-by: Yong Sheng <shengyong1@huawei.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c