Commit 943f9946 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Don't quash error in bch2_bucket_alloc_set_trans()



We were incorrectly returning -BCH_ERR_insufficient_devices when we'd
received a different error from bch2_bucket_alloc_trans(), which
(erronously) turns into -EROFS further up the call chain.

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