aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJavier Tia <javier@peridio.com>2026-08-10 17:06:18 -0600
committerCarlos Maiolino <cem@kernel.org>2026-09-07 07:50:34 +0200
commit0fe77e57588b989450d668f7c978bb0264c5c340 (patch)
treea5f0d7107a1793a4a3256d37f5eb39c533d8c79c /scripts/Makefile.thinlto
parentxfs: initialise args->total for parent pointer updates (diff)
xfs: assert the reservation covers each da fork growth
xfs_da_grow_inode_int() subtracts the blocks it just allocated from args->total, the caller's remaining block reservation. The subtraction is unsigned, so a caller that reaches it with too small a total wraps the field instead of failing, and every allocation afterwards runs with a bogus reservation. Assert the remaining reservation still covers the step, so an under-reserved or uninitialised total trips in debug builds instead of silently wrapping. Suggested-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Javier Tia <floss@jetm.me> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions