diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-12-09 19:03:05 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-01-17 16:48:42 -0800 |
commit | b06af2aff28b41099b0efd4f71c8bb4148bf29b5 (patch) | |
tree | 7ab6dcdee99b5cedd48185e83b4c2269a8af1c3b /kernel/up.c | |
parent | fe396ad8e7526f059f7b8c7290d33a1b84adacab (diff) | |
download | lwn-b06af2aff28b41099b0efd4f71c8bb4148bf29b5.tar.gz lwn-b06af2aff28b41099b0efd4f71c8bb4148bf29b5.zip |
f2fs: convert inline_dir early before starting rename
If we hit an error during rename, we'll get two dentries in different
directories.
Chao adds to check the room in inline_dir which can avoid needless
inversion. This should be done by inode_lock(&old_dir).
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions