diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-16 14:53:17 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-25 03:34:50 (GMT) |
commit | 6de1472f1a4a3bd912f515f29d3cf52a65a4c718 (patch) | |
tree | 3b93cfa6198d68832479f211c72a675bfb406fd9 /fs/nfs/nfs4file.c | |
parent | 48bc06e74be178968b53d339dbcb110cd2bb16ea (diff) | |
download | linux-fsl-qoriq-6de1472f1a4a3bd912f515f29d3cf52a65a4c718.tar.xz |
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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/nfs4file.c b/fs/nfs/nfs4file.c index 77efaf1..9c8f09a 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--; |