eCryptfs: fix dentry handling on create error, unlink, and inode destroy
[linux-2.6.git] / fs / ecryptfs / super.c
index f8cdab2bee3d717dee1b1cf5d4db2a512e54bb4e..4859c4eecd654c8b7493f51fec4fee228a9f3d8f 100644 (file)
@@ -86,7 +86,6 @@ static void ecryptfs_destroy_inode(struct inode *inode)
                        fput(inode_info->lower_file);
                        inode_info->lower_file = NULL;
                        d_drop(lower_dentry);
-                       d_delete(lower_dentry);
                }
        }
        mutex_unlock(&inode_info->lower_file_mutex);