Inflation is great for mortgage holders.
If ~40% of inflation is rent, it's hard for inflation to be 100% (for example) and rent inflation be 0%. It's possible, but very unlikely.
If you bought an $8M house in Tahoe you can't afford, it would be outstanding if inflation went up to 80 billion percent, because then you'd basically get the house for free (as every dollar last year would be worth $800M this year, buying your house for the equivalent of a penny in this inflated currency).
The only thing bad for mortgage holders is home price deflation - which usually doesn't happen when there is high inflation for the above stated reason.