diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-13 04:08:29 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:44 +0300 |
commit | fea153a84557c982542527143950dbef434731c2 (patch) | |
tree | 7fc53a84018c9d7ed237cfcd9e342da3cbd1d25f /fs/bcachefs/data_update.h | |
parent | 6474b706108bac9e531a71ddeb8150f8fa17163c (diff) | |
download | linux-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 'fs/bcachefs/data_update.h')
0 files changed, 0 insertions, 0 deletions