diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2015-04-13 14:31:37 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-06 19:03:18 +0100 |
commit | a1c6f05733c27ba7067c06c095f49e8732a5ae17 (patch) | |
tree | cbe90c408ec3ae82d1f7d1531a4cf3287a580237 /fs/ext2/xattr.c | |
parent | lib/vsprintf: add %*pg format specifier (diff) | |
download | linux-a1c6f05733c27ba7067c06c095f49e8732a5ae17.tar.xz linux-a1c6f05733c27ba7067c06c095f49e8732a5ae17.zip |
fs: use block_device name vsprintf helper
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/xattr.c')
-rw-r--r-- | fs/ext2/xattr.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c index fa70848afa8f..a21c259b5fde 100644 --- a/fs/ext2/xattr.c +++ b/fs/ext2/xattr.c @@ -77,10 +77,8 @@ printk("\n"); \ } while (0) # define ea_bdebug(bh, f...) do { \ - char b[BDEVNAME_SIZE]; \ - printk(KERN_DEBUG "block %s:%lu: ", \ - bdevname(bh->b_bdev, b), \ - (unsigned long) bh->b_blocknr); \ + printk(KERN_DEBUG "block %pg:%lu: ", \ + bh->b_bdev, (unsigned long) bh->b_blocknr); \ printk(f); \ printk("\n"); \ } while (0) |