Novak Djokovic overcame a lower-ranked opponent in straight sets to advance to the quarterfinals of the French Open in Paris.