projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ac7df
)
bcachefs: Silence spurious copygc err when shutting down
author
Kent Overstreet
<kent.overstreet@gmail.com>
Tue, 5 Apr 2022 03:36:56 +0000
(23:36 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:30 +0000
(17:09 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/movinggc.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/movinggc.c
b/fs/bcachefs/movinggc.c
index b9e1bd7b1d05a0790181f281f8cc103a00d476f4..cd7a9d81dfe887af8de5816465993bd09411d596 100644
(file)
--- a/
fs/bcachefs/movinggc.c
+++ b/
fs/bcachefs/movinggc.c
@@
-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) {