commit | 8be0fea9c09d5be1693e50d1439f14878837fa4f | [log] [tgz] |
---|---|---|
author | Sheng Yong <shengyong1@huawei.com> | Sat Jun 04 22:01:28 2016 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Jun 15 15:32:35 2016 -0700 |
tree | 9f6d9815115d995c317b70e8a4c58ddff2e3e57c | |
parent | c92737ceecaf24643cc58182afdf9b13074cfb0d [diff] |
f2fs: find parent dentry correctly If dotdot directory is corrupted, its slot may be ocupied by another file. In this case, dentry[1] is not the parent directory. Rename and cross-rename will update the inode in dentry[1] incorrectly. This patch finds dotdot dentry by name. Signed-off-by: Sheng Yong <shengyong1@huawei.com> [Jaegeuk Kim: remove wron bug_on] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>