aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-10-25 18:18:21 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-10-31 08:58:20 -0700
commitf850995f60e49818093ef5e477cdb0ff2c11a0a4 (patch)
treec2c25e75c9fded537a94a85dfbc973a871cfa998 /.clang-format
parent950f0d50ee7138d7e631aefea8528d485426eda6 (diff)
downloadlinux-f850995f60e49818093ef5e477cdb0ff2c11a0a4.tar.gz
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions