First-half goals from Matt Smith and Ross McCormack helped Leeds to a 2-1 win over Millwall at Elland Road in the Sky Bet Championship.