summaryrefslogtreecommitdiff
path: root/fs/iomap.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-08-10 17:55:57 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-08-14 08:17:02 -0700
commit1fc25f51d7c18e07e8cf935cbdd4603adfc7b3ad (patch)
tree504a881c0fe9c4eaba3f114855245f6d46b11a99 /fs/iomap.c
parent00d22a1c367d03f469f8e1e924b062b09b0545e8 (diff)
xfs: sanity check ag header values in xrep_calc_ag_resblks
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 <darrick.wong@oracle.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Diffstat (limited to 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions