summaryrefslogtreecommitdiff
path: root/kernel/up.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2019-12-09 19:03:05 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-01-17 16:48:42 -0800
commitb06af2aff28b41099b0efd4f71c8bb4148bf29b5 (patch)
tree7ab6dcdee99b5cedd48185e83b4c2269a8af1c3b /kernel/up.c
parentfe396ad8e7526f059f7b8c7290d33a1b84adacab (diff)
downloadlwn-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