The Dodgers earned home-field advantage for the best-of-five National League Division Series against the Mets by virtue of their 2-1 win over the Padres on Saturday night.