]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/error.h
Update bcachefs sources to 24c6361e20 bcachefs: Fix a trans path overflow in bch2_btr...
[bcachefs-tools-debian] / libbcachefs / error.h
index b603d738c54927e785e60ee2d14260b096c07f8a..bbf9b6d85b4dcf55d794afd88ed52d228e40eba8 100644 (file)
@@ -103,7 +103,7 @@ struct fsck_err_state {
        const char              *fmt;
        u64                     nr;
        bool                    ratelimited;
-       char                    buf[512];
+       struct printbuf         buf;
 };
 
 #define FSCK_CAN_FIX           (1 << 0)
@@ -121,7 +121,6 @@ void bch2_flush_fsck_errs(struct bch_fs *);
                                                                        \
        if (_ret != -BCH_ERR_fsck_fix &&                                \
            _ret != -BCH_ERR_fsck_ignore) {                             \
-               bch_err(c, "Unable to continue, halting");              \
                ret = _ret;                                             \
                goto fsck_err;                                          \
        }                                                               \