From 96b0cffbafb4671ac6d07b83a79b30077fe91525 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 29 May 2016 15:00:34 -0400 Subject: [PATCH] orangefs: don't open-code %pd2 Signed-off-by: Al Viro --- fs/orangefs/namei.c | 8 ++------ 1 file 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)