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

bcachefs: Fix bch2_btree_update_start() to return -BCH_ERR_journal_reclaim_would_deadlock



On failure to get a journal pre-reservation because we're called from
journal reclaim we're not supposed to return a transaction restart error
- this fixes a livelock.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8a9c1b1c
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