aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
-rw-r--r--fs/nfs/nfs4namespace.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c
index c08cbf40c59e..4e7f05d3e9db 100644
--- a/fs/nfs/nfs4namespace.c
+++ b/fs/nfs/nfs4namespace.c
@@ -292,8 +292,7 @@ static struct vfsmount *nfs_follow_referral(struct dentry *dentry,
292 if (locations == NULL || locations->nlocations <= 0) 292 if (locations == NULL || locations->nlocations <= 0)
293 goto out; 293 goto out;
294 294
295 dprintk("%s: referral at %s/%s\n", __func__, 295 dprintk("%s: referral at %pd2\n", __func__, dentry);
296 dentry->d_parent->d_name.name, dentry->d_name.name);
297 296
298 page = (char *) __get_free_page(GFP_USER); 297 page = (char *) __get_free_page(GFP_USER);
299 if (!page) 298 if (!page)
@@ -357,8 +356,8 @@ static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *
357 mnt = ERR_PTR(-ENOENT); 356 mnt = ERR_PTR(-ENOENT);
358 357
359 parent = dget_parent(dentry); 358 parent = dget_parent(dentry);
360 dprintk("%s: getting locations for %s/%s\n", 359 dprintk("%s: getting locations for %pd2\n",
361 __func__, parent->d_name.name, dentry->d_name.name); 360 __func__, dentry);
362 361
363 err = nfs4_proc_fs_locations(client, parent->d_inode, &dentry->d_name, fs_locations, page); 362 err = nfs4_proc_fs_locations(client, parent->d_inode, &dentry->d_name, fs_locations, page);
364 dput(parent); 363 dput(parent);