]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/error.c
New upstream snapshot
[bcachefs-tools-debian] / libbcachefs / error.c
index 2cea694575e99a4df6c4af282c76cbc77230f06e..8279a9ba76a5c5e91524512d31e966e566cb240e 100644 (file)
@@ -15,7 +15,7 @@ bool bch2_inconsistent_error(struct bch_fs *c)
                return false;
        case BCH_ON_ERROR_ro:
                if (bch2_fs_emergency_read_only(c))
-                       bch_err(c, "emergency read only");
+                       bch_err(c, "inconsistency detected - emergency read only");
                return true;
        case BCH_ON_ERROR_panic:
                panic(bch2_fmt(c, "panic after error"));
@@ -35,7 +35,7 @@ void bch2_topology_error(struct bch_fs *c)
 void bch2_fatal_error(struct bch_fs *c)
 {
        if (bch2_fs_emergency_read_only(c))
-               bch_err(c, "emergency read only");
+               bch_err(c, "fatal error - emergency read only");
 }
 
 void bch2_io_error_work(struct work_struct *work)