Commit c639c29c authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix an assert in copygc thread shutdown path



We're not supposed to have nested (locked) btree_trans on the stack:
this means copygc shutdown needs to exit our btree_trans before exiting
the move_ctxt, which calls bch2_write().

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 2d004446
Supports Markdown
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