diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-03 16:41:17 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-03 23:56:02 -0400 |
commit | cb8869da4e7be92b2698011bc4fc0cc76ef72851 (patch) | |
tree | a51e13f17552f2c6288e4e4c937d9c3e3b84b26d /fs/bcachefs/backpointers.c | |
parent | 10668f6a5256abb30c69747e8396c347649d0087 (diff) |
bcachefs: Fix a deadlock in btree_update_nodes_written()
btree_node_lock_nopath() is something we'd like to get rid of, it's
always prone to deadlocks if we accidentally are holding other locks,
because it doesn't mark the lock it's taking in a path: we'll want to
get rid of it in the future, but for now this patch works it by calling
bch2_trans_unlock().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/backpointers.c')
0 files changed, 0 insertions, 0 deletions