aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-07-19 14:51:52 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:36 -0400
commit90cecb921cfe95858a32995019f11c20b6339607 (patch)
treef9e0a742780d94949d6d6ae6901682b40a272b92 /tools/perf/scripts/python/bin/stackcollapse-record
parentd4bf5eecd78a90d019b933929a14c91d6d41af62 (diff)
bcachefs: Prevent a btree iter overflow in alloc path
In bch2_bucket_alloc_trans(), we're iterating over buckets - but not directly with an iterator, since we're iterating over the freespace btree. This means that we need to clear iter->path->preserve, otherwise we'll end up retaining a btree_path for every alloc key we touched - which is not what we want here. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions