diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-16 16:14:56 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:34 -0400 |
commit | 952070908f9f47acb9e9ebd642570dd75f672edc (patch) | |
tree | 96554f43322671db23664ab1ecbc1f2f7a933613 /fs/bcachefs/rebalance.c | |
parent | a965ef4986243bb0490d5af0ae202e81871554e1 (diff) | |
download | linux-stable-952070908f9f47acb9e9ebd642570dd75f672edc.tar.gz linux-stable-952070908f9f47acb9e9ebd642570dd75f672edc.tar.bz2 linux-stable-952070908f9f47acb9e9ebd642570dd75f672edc.zip |
bcachefs: Don't modify existing key in place in sort_repack_merge()
This fixes a nasty memory corruption with other threads that are still
reading the btree node being compacted.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/rebalance.c')
0 files changed, 0 insertions, 0 deletions