diff options
author | 2022-10-25 18:18:21 -0700 | |
---|---|---|
committer | 2022-10-31 08:58:20 -0700 | |
commit | f850995f60e49818093ef5e477cdb0ff2c11a0a4 (patch) | |
tree | c2c25e75c9fded537a94a85dfbc973a871cfa998 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: dump corrupt recovered log intent items to dmesg consistently (diff) | |
download | linux-dev-f850995f60e49818093ef5e477cdb0ff2c11a0a4.tar.xz linux-dev-f850995f60e49818093ef5e477cdb0ff2c11a0a4.zip |
xfs: make sure aglen never goes negative in xfs_refcount_adjust_extents
Prior to calling xfs_refcount_adjust_extents, we trimmed agbno/aglen
such that the end of the range would not be in the middle of a refcount
record. If this is no longer the case, something is seriously wrong
with the btree. Bail out with a corruption error.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions