diff options
author | Eric Sandeen <sandeen@redhat.com> | 2009-06-04 23:36:36 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-06-04 23:36:36 +0200 |
commit | b31e15527a9bb71b6a11a425d17ce139a62f5af5 (patch) | |
tree | 3b8fdb014e3b960b27369643de9ad1213ec2cbba /fs/ext4/ext4.h | |
parent | ext4: Get rid of EXTEND_DISKSIZE flag of ext4_get_blocks_handle() (diff) | |
download | linux-b31e15527a9bb71b6a11a425d17ce139a62f5af5.tar.xz linux-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 59657ff7b8f4..cc7d5edc38c9 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))); |