]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/error.h
Update bcachefs sources to ee560a3929 bcachefs: Print version, options earlier in...
[bcachefs-tools-debian] / libbcachefs / error.h
index 9991879dfbff12bb36119646d4222423f09bfd2b..7ce9540052e53df99a90d4ac958c671ad375bdc7 100644 (file)
@@ -91,19 +91,14 @@ do {                                                                        \
  * be able to repair:
  */
 
-enum fsck_err_opts {
-       FSCK_OPT_EXIT,
-       FSCK_OPT_YES,
-       FSCK_OPT_NO,
-       FSCK_OPT_ASK,
-};
-
 struct fsck_err_state {
        struct list_head        list;
        const char              *fmt;
        u64                     nr;
        bool                    ratelimited;
-       struct printbuf         buf;
+       int                     ret;
+       int                     fix;
+       char                    *last_msg;
 };
 
 #define FSCK_CAN_FIX           (1 << 0)