jbd2: On a __journal_expect() assertion failure printk "JBD2", not "EXT3-fs"
authorTheodore Ts'o <tytso@mit.edu>
Fri, 16 Jan 2009 16:57:00 +0000 (11:57 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Jan 2009 16:57:00 +0000 (11:57 -0500)
Otherwise it can be very confusing to find a "EXT3-fs: " failure in
the middle of EXT4-fs failures, and it makes it harder to track the
source of the failure.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
include/linux/jbd2.h

index b45109c61fba90451a0396f6c845e7c55964ccb3..b28b37eb11c626da84e8152f4878b8c593125ec3 100644 (file)
@@ -308,7 +308,8 @@ void buffer_assertion_failure(struct buffer_head *bh);
                int val = (expr);                                            \
                if (!val) {                                                  \
                        printk(KERN_ERR                                      \
-                               "EXT3-fs unexpected failure: %s;\n",# expr); \
+                              "JBD2 unexpected failure: %s: %s;\n",         \
+                              __func__, #expr);                             \
                        printk(KERN_ERR why "\n");                           \
                }                                                            \
                val;                                                         \