General Mills announced a recall of flour products after federal health officials linked them to an E. coli infection affecting 38 people in 20 states.