vfs: remove dentry of an unliked file from dentry cache
If dentry has elevated reference count during unlink (a file is opened for instance) it is not destroyed and remains in the dentry hash. As a result unlinked file is still accessible. Signed-off-by:Gleb Natapov <gleb@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
Please register or sign in to comment