ext4: Change all super.c messages to print the device
PATCH 1/1 ext4: Change all super.c messages to print the device
Do the same for ext4 as Andi did for ext3:
"This patch changes ext4 super.c to include the device name with all warning/error messages, by using a new utility function ext4_msg. It's a rather large patch, but very mechanic. I left debug printks alone."
---
fs/ext4/ext4.h +2 -0
@@ -1123,6 +1123,8 @@ extern void ext4_abort(struct super_bloc __attribute__ ((format (printf, 3, 4)));extern void ext4_warning (struct super_block *,const char *,const char *, ...) __attribute__ ((format (printf,3 ,4 ))); +extern void ext4_msg (struct super_block *,const char *,const char *, ...) + __attribute__ ((format (printf,3 ,4 )));extern void ext4_grp_locked_error (struct super_block *,ext4_group_t ,const char *,const char *, ...) __attribute__ ((format (printf,4 ,5 )));
fs/ext4/super.c +221 -218
1,057 lines not on this page · raw message
Theodore Tso
maintainerQuoted 6 lines · Eric Sandeen
Do the same for ext4 as Andi did for ext3:
"This patch changes ext4
super.cto include the device name with all warning/error messages, by using a new utility functionext4_msg. It's a rather large patch, but very mechanic. I left debug printks alone."
I've added this to the ext4 patch queue.
- Ted
Quoted 9 lines · Theodore Tso
Quoted 6 lines · Eric Sandeen
Do the same for ext4 as Andi did for ext3:
"This patch changes ext4
super.cto include the device name with all warning/error messages, by using a new utility functionext4_msg. It's a rather large patch, but very mechanic. I left debug printks alone."I've added this to the ext4 patch queue.
And how about the ext3 patch?
-Andi
Signature · 1 line
[email protected] -- Speaking for myself only.