diff options
| author | Sheng Yong <shengyong1@huawei.com> | 2016-06-04 22:01:28 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:33:46 +0200 |
| commit | e718efab5f02213a049308426e0eb724eb6f5f5f (patch) | |
| tree | 995665ef34e09bfb184fe5f2cc55d9c714984f83 /include/linux/platform_data | |
| parent | ccd38b18cce3189096feb8b02798e1b6659a6361 (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>
Conflicts:
fs/f2fs/f2fs.h
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
