diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-28 02:55:54 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:02 +0300 |
commit | f154c3eb429a340d66a06e8f8d2221d28d25ab45 (patch) | |
tree | 5a6e74c7c6518c6415797097f8344524c39e9b2a /fs/bcachefs/subvolume.c | |
parent | e7ffda565a762a6bdf782b4978af5ccfe4ab5d0d (diff) | |
download | linux-f154c3eb429a340d66a06e8f8d2221d28d25ab45.tar.xz |
bcachefs: trans_for_each_path_safe()
bch2_btree_trans_to_text() is used on btree_trans objects that are owned
by different threads - when printing out deadlock cycles - so we need a
safe version of trans_for_each_path(), else we race with seeing a
btree_path that was just allocated and not fully initialized:
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/subvolume.c')
0 files changed, 0 insertions, 0 deletions