Commit 1e903eda authored by Al Viro's avatar Al Viro

sunrpc: switch to %pd

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a6a9f18f
...@@ -519,8 +519,8 @@ static int __rpc_create_common(struct inode *dir, struct dentry *dentry, ...@@ -519,8 +519,8 @@ static int __rpc_create_common(struct inode *dir, struct dentry *dentry,
d_add(dentry, inode); d_add(dentry, inode);
return 0; return 0;
out_err: out_err:
printk(KERN_WARNING "%s: %s failed to allocate inode for dentry %s\n", printk(KERN_WARNING "%s: %s failed to allocate inode for dentry %pd\n",
__FILE__, __func__, dentry->d_name.name); __FILE__, __func__, dentry);
dput(dentry); dput(dentry);
return -ENOMEM; return -ENOMEM;
} }
...@@ -755,8 +755,8 @@ static int rpc_populate(struct dentry *parent, ...@@ -755,8 +755,8 @@ static int rpc_populate(struct dentry *parent,
out_bad: out_bad:
__rpc_depopulate(parent, files, start, eof); __rpc_depopulate(parent, files, start, eof);
mutex_unlock(&dir->i_mutex); mutex_unlock(&dir->i_mutex);
printk(KERN_WARNING "%s: %s failed to populate directory %s\n", printk(KERN_WARNING "%s: %s failed to populate directory %pd\n",
__FILE__, __func__, parent->d_name.name); __FILE__, __func__, parent);
return err; return err;
} }
...@@ -852,8 +852,8 @@ struct dentry *rpc_mkpipe_dentry(struct dentry *parent, const char *name, ...@@ -852,8 +852,8 @@ struct dentry *rpc_mkpipe_dentry(struct dentry *parent, const char *name,
return dentry; return dentry;
out_err: out_err:
dentry = ERR_PTR(err); dentry = ERR_PTR(err);
printk(KERN_WARNING "%s: %s() failed to create pipe %s/%s (errno = %d)\n", printk(KERN_WARNING "%s: %s() failed to create pipe %pd/%s (errno = %d)\n",
__FILE__, __func__, parent->d_name.name, name, __FILE__, __func__, parent, name,
err); err);
goto out; goto out;
} }
......
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