mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
Check the values we read in from the AG headers when calculating the block reservations for a repair transaction. If they're obviously wrong, substitute worst case assumptions (rather than ENOSPC on a bogus reservation request). Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Allison Henderson <[email protected]> Reviewed-by: Carlos Maiolino <[email protected]>