summaryrefslogtreecommitdiffstats
path: root/fs/nfs/namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-16 16:53:17 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-25 05:34:50 +0200
commit6de1472f1a4a3bd912f515f29d3cf52a65a4c718 (patch)
tree3b93cfa6198d68832479f211c72a675bfb406fd9 /fs/nfs/namespace.c
parentbefs: split symlink iops in two - for short and long symlinks resp. (diff)
downloadlinux-6de1472f1a4a3bd912f515f29d3cf52a65a4c718.tar.xz
linux-6de1472f1a4a3bd912f515f29d3cf52a65a4c718.zip
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/namespace.c')
-rw-r--r--fs/nfs/namespace.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c
index 348b535cd786..b5a0afc3ee10 100644
--- a/fs/nfs/namespace.c
+++ b/fs/nfs/namespace.c
@@ -253,9 +253,8 @@ struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh,
dprintk("--> nfs_do_submount()\n");
- dprintk("%s: submounting on %s/%s\n", __func__,
- dentry->d_parent->d_name.name,
- dentry->d_name.name);
+ dprintk("%s: submounting on %pd2\n", __func__,
+ dentry);
if (page == NULL)
goto out;
devname = nfs_devname(dentry, page, PAGE_SIZE);