orangefs: don't open-code %pd2
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 May 2016 19:00:34 +0000 (15:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 May 2016 20:22:07 +0000 (16:22 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/orangefs/namei.c

index 5a60c508af4ed7e8492a69e8c18276c9981fb62d..930894ae7e1dc4543373d54ff1984b9ae5f8ff5e 100644 (file)
@@ -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)