Skip to content
Commit fea153a8 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 6474b706
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment