summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-13 04:08:29 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 19:47:44 +0300
commitfea153a84557c982542527143950dbef434731c2 (patch)
tree7fc53a84018c9d7ed237cfcd9e342da3cbd1d25f /.rustfmt.toml
parent6474b706108bac9e531a71ddeb8150f8fa17163c (diff)
downloadlinux-fea153a84557c982542527143950dbef434731c2.tar.xz
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 '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions