Remove createDirectoryEntry from kernel API