summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-16 10:53:17 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-24 23:34:50 -0400
commit6de1472f1a4a3bd912f515f29d3cf52a65a4c718 (patch)
tree3b93cfa6198d68832479f211c72a675bfb406fd9 /fs/nfs/nfs4file.c
parent48bc06e74be178968b53d339dbcb110cd2bb16ea (diff)
downloadlinux-6de1472f1a4a3bd912f515f29d3cf52a65a4c718.tar.bz2
nfs: use %p[dD] instead of open-coded (and often racy) equivalents
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/nfs4file.c')
-rw-r--r--fs/nfs/nfs4file.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c
index 77efaf15ec90..9c8f09a2156f 100644
--- a/fs/nfs/nfs4file.c
+++ b/fs/nfs/nfs4file.c
@@ -31,9 +31,7 @@ nfs4_file_open(struct inode *inode, struct file *filp)
* -EOPENSTALE. The VFS will retry the lookup/create/open.
*/
- dprintk("NFS: open file(%s/%s)\n",
- dentry->d_parent->d_name.name,
- dentry->d_name.name);
+ dprintk("NFS: open file(%pd2)\n", dentry);
if ((openflags & O_ACCMODE) == 3)
openflags--;