diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2009-01-16 11:57:00 -0500 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2009-01-16 11:57:00 -0500 |
| commit | 08ec8c3878cea0bf91f2ba3c0badf44b383752d0 (patch) | |
| tree | 560d9d0c02270f4d21bc7d7bc18d1b97994bc746 | |
| parent | a21102b55c4f8dfd3adb4a15a34cd62237b46039 (diff) | |
jbd2: On a __journal_expect() assertion failure printk "JBD2", not "EXT3-fs"
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>
| -rw-r--r-- | include/linux/jbd2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index b45109c61fba..b28b37eb11c6 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h | |||
| @@ -308,7 +308,8 @@ void buffer_assertion_failure(struct buffer_head *bh); | |||
| 308 | int val = (expr); \ | 308 | int val = (expr); \ |
| 309 | if (!val) { \ | 309 | if (!val) { \ |
| 310 | printk(KERN_ERR \ | 310 | printk(KERN_ERR \ |
| 311 | "EXT3-fs unexpected failure: %s;\n",# expr); \ | 311 | "JBD2 unexpected failure: %s: %s;\n", \ |
| 312 | __func__, #expr); \ | ||
| 312 | printk(KERN_ERR why "\n"); \ | 313 | printk(KERN_ERR why "\n"); \ |
| 313 | } \ | 314 | } \ |
| 314 | val; \ | 315 | val; \ |
