White spots on potatoes are essentially the swollen pores of the potato caused by too much water.  These are called lenticels, and it is what the potatoes use to breathe. In certain soil conditions, these lenticels get blocked up and swell, hence the white spots. While it can be a bit concerning to see, the potatoes are still perfectly safe to eat.