We replaced a section of subfloor that had rotted through. With the damage cut out and new plywood patched in, it's now solid and ready for new carpet. Before and After.
Subfloor repair after - large hole in floor fixedSubfloor repair after - patched and ready for carpet