Darrick J. Wong 1aa26707eb xfs: fix uninitialized variables in xrep_calc_ag_resblks
If we can't read the AGF header, we never actually set a value for
freelen and usedlen.  These two variables are used to make the worst
case estimate of btree size, so it's safe to set them to the AG size as
a fallback.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2021-03-25 16:47:49 -07:00
..
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:27:20 +01:00
2021-02-26 15:49:51 -07:00
2020-12-16 16:07:34 -08:00
2021-02-26 15:49:51 -07:00
2021-02-23 13:39:45 -08:00
2021-01-24 14:43:46 +01:00
2021-02-23 13:39:45 -08:00
2021-02-21 10:34:36 -08:00
2021-02-23 13:39:45 -08:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-02-10 17:28:13 -08:00
2021-02-23 13:39:45 -08:00
2020-12-16 16:07:34 -08:00
2021-02-23 13:39:45 -08:00
2021-01-24 14:43:46 +01:00
2021-02-21 10:34:36 -08:00
2020-12-16 16:07:34 -08:00
2021-01-24 14:27:17 +01:00