diff options
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r-- | fs/ext4/page-io.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 17fbe3882b8e..090b3498638e 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c | |||
@@ -52,9 +52,8 @@ void ext4_exit_pageio(void) | |||
52 | */ | 52 | */ |
53 | static void buffer_io_error(struct buffer_head *bh) | 53 | static void buffer_io_error(struct buffer_head *bh) |
54 | { | 54 | { |
55 | char b[BDEVNAME_SIZE]; | 55 | printk_ratelimited(KERN_ERR "Buffer I/O error on device %pg, logical block %llu\n", |
56 | printk_ratelimited(KERN_ERR "Buffer I/O error on device %s, logical block %llu\n", | 56 | bh->b_bdev, |
57 | bdevname(bh->b_bdev, b), | ||
58 | (unsigned long long)bh->b_blocknr); | 57 | (unsigned long long)bh->b_blocknr); |
59 | } | 58 | } |
60 | 59 | ||