Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08ec8c38 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent a21102b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -308,7 +308,8 @@ void buffer_assertion_failure(struct buffer_head *bh);
		int val = (expr);					     \
		int val = (expr);					     \
		if (!val) {						     \
		if (!val) {						     \
			printk(KERN_ERR					     \
			printk(KERN_ERR					     \
				"EXT3-fs unexpected failure: %s;\n",# expr); \
			       "JBD2 unexpected failure: %s: %s;\n",	     \
			       __func__, #expr);			     \
			printk(KERN_ERR why "\n");			     \
			printk(KERN_ERR why "\n");			     \
		}							     \
		}							     \
		val;							     \
		val;							     \