diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-12 20:08:29 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:44 -0500 |
commit | fea153a84557c982542527143950dbef434731c2 (patch) | |
tree | 7fc53a84018c9d7ed237cfcd9e342da3cbd1d25f /mm/swap_state.c | |
parent | 6474b706108bac9e531a71ddeb8150f8fa17163c (diff) | |
download | linux-stable-fea153a84557c982542527143950dbef434731c2.tar.gz linux-stable-fea153a84557c982542527143950dbef434731c2.tar.bz2 linux-stable-fea153a84557c982542527143950dbef434731c2.zip |
bcachefs: rcu protect trans->paths
Upcoming patches are going to be changing trans->paths to a
reallocatable buffer. We need to guard against use after free when it's
used by other threads; this introduces RCU protection to those paths and
changes them to check for trans->paths == NULL
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions