diff options
author | Eric Sandeen <sandeen@redhat.com> | 2009-06-04 17:36:36 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-06-04 17:36:36 -0400 |
commit | b31e15527a9bb71b6a11a425d17ce139a62f5af5 (patch) | |
tree | 3b8fdb014e3b960b27369643de9ad1213ec2cbba /fs/ext4/ext4.h | |
parent | 03f5d8bcf094a5e3b501bd2ae1553656efa8d1be (diff) | |
download | kernel-crypto-b31e15527a9bb71b6a11a425d17ce139a62f5af5.tar.gz kernel-crypto-b31e15527a9bb71b6a11a425d17ce139a62f5af5.tar.xz kernel-crypto-b31e15527a9bb71b6a11a425d17ce139a62f5af5.zip |
ext4: Change all super.c messages to print the device
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.
This is a straightforward port of a patch which Andi Kleen did for
ext3.
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 59657ff7b8f..cc7d5edc38c 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -1401,6 +1401,8 @@ extern void ext4_abort(struct super_block *, const char *, const char *, ...) __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))); |