When she removed the jacket and looked at the lining, it had a large hole.

Which correction makes it clear what the antecedent is for it?

When she removed the jacket and looked at the lining, one had a large hole.
When she removed the jacket and looked at the lining, one had a large hole.

When she removed the jacket and looked at the lining, the lining had a large hole.
When she removed the jacket and looked at the lining, the lining had a large hole.

When she removed the jacket and looked at the lining, she discovered that it had a large hole.
When she removed the jacket and looked at the lining, she discovered that it had a large hole.

When she removed the jacket and looked at the lining, its surface had a large hole.

When she removed the jacket and looked at the lining, the lining had a large hole.

The correction that makes it clear what the antecedent is for "it" is:

When she removed the jacket and looked at the lining, the lining had a large hole.