ext4_debug: add mbr debug definitions
authorgkostka <kostka.grzegorz@gmail.com>
Tue, 8 Dec 2015 18:57:45 +0000 (19:57 +0100)
committergkostka <kostka.grzegorz@gmail.com>
Tue, 8 Dec 2015 18:57:45 +0000 (19:57 +0100)
lwext4/ext4_debug.h

index 4c69a4e3e83c15270ed63489c2f47e2a4916909f..35d30034a55c45e6cfaf28697467863278b7fad4 100644 (file)
@@ -78,6 +78,7 @@ extern "C" {
 #define DEBUG_MKFS (1ul << 14)
 #define DEBUG_EXT4 (1ul << 15)
 #define DEBUG_JBD (1ul << 16)
+#define DEBUG_MBR (1ul << 17)
 
 #define DEBUG_ALL (0xFFFFFFFF)
 
@@ -116,12 +117,14 @@ static inline const char *ext4_dmask_id2str(uint32_t m)
                return "ext4_mkfs: ";
        case DEBUG_JBD:
                return "ext4_jbd: ";
+       case DEBUG_MBR:
+               return "ext4_mbr: ";
        case DEBUG_EXT4:
                return "ext4: ";
        }
        return "";
 }
-#define DBG_NONE  "        "
+#define DBG_NONE  ""
 #define DBG_INFO  "[info]  "
 #define DBG_WARN  "[warn]  "
 #define DBG_ERROR "[error] "