summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/Kconfig
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-13 02:08:29 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 17:47:44 +0100
commitfea153a84557c982542527143950dbef434731c2 (patch)
tree7fc53a84018c9d7ed237cfcd9e342da3cbd1d25f /fs/bcachefs/Kconfig
parentbcachefs: Clean up btree_trans (diff)
downloadlinux-fea153a84557c982542527143950dbef434731c2.tar.xz
linux-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 'fs/bcachefs/Kconfig')
0 files changed, 0 insertions, 0 deletions