Skip to content
Snippets Groups Projects
Commit 3f050ee4 authored by Gleb Natapov's avatar Gleb Natapov Committed by Pekka Enberg
Browse files

vfs: move dentry to its new location during file rename


If dentry has elevated reference count during rename (a file is opened
for instance) it is not destroyed and still hashed with old path. As a
result renamed file can still be accessed by its old name.

Signed-off-by: default avatarGleb Natapov <gleb@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent db571962
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment