diff options
| author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-06 19:20:36 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:23 -0400 |
| commit | 80bf2f345411b9952a984b6105cd860500b01228 (patch) | |
| tree | 3b9b10d874c65cbdd1326d30ac74136ecf77ae7f /tools/perf/scripts/python | |
| parent | 35228ecb7e4d45822c0e2acbb0fb9555da31ef31 (diff) | |
| download | linux-80bf2f345411b9952a984b6105cd860500b01228.tar.gz linux-80bf2f345411b9952a984b6105cd860500b01228.zip | |
bcachefs: Fix freeing in bch2_dev_buckets_resize()
We were double-freeing old_buckets and not freeing old_buckets_gens:
also, the code was supposed to free buckets, not old_buckets;
old_buckets is only needed because we have to use rcu_assign_pointer()
instead of swap(), and won't be set if we hit the error path.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
