Commit a34e15cc authored by David Howells's avatar David Howells Committed by Theodore Ts'o
Browse files

ext4: use %pd printk specificer

Use the new %pd printk() specifier in Ext4 to replace passing of
dentry name or dentry name and name length * 2 with just passing the
Signed-off-by: default avatarDavid Howells <>
Signed-off-by: default avatar"Theodore Ts'o" <>
cc: Andreas Dilger <>
parent 52e44777
......@@ -1425,9 +1425,8 @@ static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsi
return ERR_PTR(-EIO);
if (unlikely(ino == dir->i_ino)) {
EXT4_ERROR_INODE(dir, "'%.*s' linked to parent dir",
EXT4_ERROR_INODE(dir, "'%pd' linked to parent dir",
return ERR_PTR(-EIO);
inode = ext4_iget(dir->i_sb, ino);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment