ecryptfs_rename(): verify that lower dentries are still OK after lock_rename()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Oct 2018 03:32:41 +0000 (23:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Oct 2018 03:33:17 +0000 (23:33 -0400)
commit74dd7c97ea2ab08b41925ab2f472db573accda89
tree9a336f634fdc2b6250ab1ef50e529830eac8079f
parentb07581d2d5add23ae163e3fbfb2fa5d36076922f
ecryptfs_rename(): verify that lower dentries are still OK after lock_rename()

We get lower layer dentries, find their parents, do lock_rename() and
proceed to vfs_rename().  However, we do not check that dentries still
have the same parents and are not unlinked.  Need to check that...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/inode.c