ecryptfs: fix use with tmpfs by removing d_drop from ecryptfs_destroy_inode
[firefly-linux-kernel-4.4.55.git] / fs / ecryptfs / super.c
index b15a43a80ab78cc7dbb9e05dedef0dbb0dd0e6ee..1a037f77aa52c1a0abcccfcfd24dcb9cceb63bff 100644 (file)
@@ -85,7 +85,6 @@ static void ecryptfs_destroy_inode(struct inode *inode)
                if (lower_dentry->d_inode) {
                        fput(inode_info->lower_file);
                        inode_info->lower_file = NULL;
-                       d_drop(lower_dentry);
                }
        }
        ecryptfs_destroy_crypt_stat(&inode_info->crypt_stat);