diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-28 09:35:34 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:03 +0300 |
commit | e1d29c5fa1205c75dd96303f76d7aa4991555aaa (patch) | |
tree | 646b7b130460597769928e29509f16c3d8816e6d /fs/bcachefs/ec.c | |
parent | 70d41c9e276c5e7b130d328a6ece92c9130a6572 (diff) | |
download | linux-e1d29c5fa1205c75dd96303f76d7aa4991555aaa.tar.xz |
bcachefs: Ensure bch2_btree_node_get() calls relock() after unlock()
Fix a bug where bch2_btree_node_get() might call bch2_trans_unlock() (in
fill) without calling bch2_trans_relock(); this is a bug when it's done
in the core btree code.
Also, twea bch2_btree_node_mem_alloc() to drop btree locks before doing
a blocking memory allocation.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
0 files changed, 0 insertions, 0 deletions