]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/movinggc.c
Update bcachefs sources to 3e93567c51 bcachefs: Switch to local_clock() for fastpath...
[bcachefs-tools-debian] / libbcachefs / movinggc.c
index 35958c6bb4a6d3278ec6c81b233bcedf4fdcfe72..044eca879afced62016f63076c6fe47f39eba069 100644 (file)
@@ -162,7 +162,7 @@ static int bch2_copygc(struct bch_fs *c)
 
        bch2_moving_ctxt_exit(&ctxt);
 
-       if (ret < 0)
+       if (ret < 0 && ret != -EROFS)
                bch_err(c, "error from bch2_move_data() in copygc: %s", bch2_err_str(ret));
 
        trace_and_count(c, copygc, c, atomic64_read(&move_stats.sectors_moved), 0, 0, 0);