Commit 4c4a8f20 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix error handling in promote path



The promote path had a BUG_ON() for unknown error type, which we're now
seeing: change it to a WARN_ON() - because we're curious what this is -
and otherwise handle it in the normal error path.

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