mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
bcachefs: Silence spurious copygc err when shutting down
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
f0ac7df23d
commit
afb6f7f61b
@ -290,10 +290,10 @@ static int bch2_copygc(struct bch_fs *c)
|
||||
writepoint_ptr(&c->copygc_write_point),
|
||||
copygc_pred, NULL,
|
||||
&move_stats);
|
||||
if (ret) {
|
||||
if (ret < 0)
|
||||
bch_err(c, "error %i from bch2_move_data() in copygc", ret);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = check_copygc_was_done(c, §ors_not_moved, &buckets_not_moved);
|
||||
if (ret) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user