Is the pathogenic ergot fungus a conditional defensive mutualist for its host grass?

Is the pathogenic ergot fungus a conditional defensive mutualist for its host grass?