diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-13 02:08:29 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 17:47:44 +0100 |
commit | fea153a84557c982542527143950dbef434731c2 (patch) | |
tree | 7fc53a84018c9d7ed237cfcd9e342da3cbd1d25f /fs/bcachefs/Kconfig | |
parent | bcachefs: Clean up btree_trans (diff) | |
download | linux-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