Attic Access in Garage/Firewall

If this barrier wall continues to the roof above the ceiling joists, then it’s okay. Otherwise that opening in the ceiling has compromised the fire barrier.