“It was just becoming too much,” Barty said. “Right from the first game I was battling the pain, and it just became too severe... it was becoming unsafe.”
Still, Barty hopes she would be fit again in time for Wimbledon, which begin on June 28.
“I hope so,” she said. “I really do. We do all the right things now, we continue to do the right things, give ourselves the best chance.”
Having diagnosed the injury, Barty said she was confident of a good ending.
“It's disappointing but not panic stations,” she said. “We know what's going on. We just need time to manage it to get back on the court as quickly as we can.”
Linette moves on to face Tunisian 25th seed Ons Jabeur for a place in her maiden Grand Slam fourth round.