diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-25 13:59:54 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-25 13:59:54 -0400 |
commit | 684fb1cb02b7e10894cc8a141f061082b3ca68ff (patch) | |
tree | a001ac99ea965535de10268d54690431d166fc19 | |
parent | 0d63ed13ea3d867055ae5752e2e0514a227d1dcb (diff) |
fixup! bcachefs: rebalance_work
-rw-r--r-- | fs/bcachefs/rebalance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c index 6ba8574b4a69..6ee4d2e02073 100644 --- a/fs/bcachefs/rebalance.c +++ b/fs/bcachefs/rebalance.c @@ -354,7 +354,8 @@ static int do_rebalance(struct moving_context *ctxt) rebalance_wait(c); } - bch_err_fn(c, ret); + if (!bch2_err_matches(ret, EROFS)) + bch_err_fn(c, ret); return ret; } |