Regarding the posts on "why don't they coat the inside of the tanks"....the issue you run into with a corrosion cell (any time you have steel rusting in a moist environment is an example of a corrosion cell), if you attempt to coat the steel to stop corrosion you just force all of the corrosion to occur at any point that is not coated.
It's a strange thing, but unless you are going to apply a source of electrical current to reverse the cell, you're better off NOT coating anything as that will cause the corrosion to occur all the way across the tank rather than be concentrated at just a few area where the coating is bad.
If you could coat something "perfectly", sure that would be better...but in practice eventually the coating will come into contact with the electrolyte (water in this case) and you'll rapidly create a pinhole at that point.
Water heater tanks are a good example of this. If someone clips off the anode (which is what creates a cathodic protection current to protect small defects in the ceramic tank coating) the tank will fail rapidly...actually much faster than if it had no coating at all.
In the case of an air compressor, galvanized coating on the inside might be a good solution to make it last longer, as the zinc is anodic to to steel and would protect it even if scratched...but then you would have to deal with any flakes in your filtration.
Everything's a trade off.
Phil