summaryrefslogtreecommitdiff
path: root/fs/bcachefs/journal_io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-05-28 09:35:34 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:03 +0300
commite1d29c5fa1205c75dd96303f76d7aa4991555aaa (patch)
tree646b7b130460597769928e29509f16c3d8816e6d /fs/bcachefs/journal_io.c
parent70d41c9e276c5e7b130d328a6ece92c9130a6572 (diff)
downloadlinux-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/journal_io.c')
0 files changed, 0 insertions, 0 deletions