summaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-05-29 21:00:34 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-29 22:22:07 +0200
commit96b0cffbafb4671ac6d07b83a79b30077fe91525 (patch)
tree646d5c313c66173127e30d3c2830b65e8efad149 /fs/orangefs
parenttracefs: ->d_parent is never NULL or negative... (diff)
downloadlinux-96b0cffbafb4671ac6d07b83a79b30077fe91525.tar.xz
linux-96b0cffbafb4671ac6d07b83a79b30077fe91525.zip
orangefs: don't open-code %pd2
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/orangefs')
-rw-r--r--fs/orangefs/namei.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c
index 5a60c508af4e..930894ae7e1d 100644
--- a/fs/orangefs/namei.c
+++ b/fs/orangefs/namei.c
@@ -405,12 +405,8 @@ static int orangefs_rename(struct inode *old_dir,
int ret;
gossip_debug(GOSSIP_NAME_DEBUG,
- "orangefs_rename: called (%s/%s => %s/%s) ct=%d\n",
- old_dentry->d_parent->d_name.name,
- old_dentry->d_name.name,
- new_dentry->d_parent->d_name.name,
- new_dentry->d_name.name,
- d_count(new_dentry));
+ "orangefs_rename: called (%pd2 => %pd2) ct=%d\n",
+ old_dentry, new_dentry, d_count(new_dentry));
new_op = op_alloc(ORANGEFS_VFS_OP_RENAME);
if (!new_op)