summaryrefslogtreecommitdiffstats
path: root/fs/nfs/idmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/idmap.c')
-rw-r--r--fs/nfs/idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c
index 2992cb854e12..588d7da5b17e 100644
--- a/fs/nfs/idmap.c
+++ b/fs/nfs/idmap.c
@@ -451,8 +451,8 @@ nfs_idmap_new(struct nfs_client *clp)
451 return error; 451 return error;
452 } 452 }
453 453
454 if (clp->cl_rpcclient->cl_path.dentry) 454 if (clp->cl_rpcclient->cl_dentry)
455 pipe->dentry = rpc_mkpipe_dentry(clp->cl_rpcclient->cl_path.dentry, 455 pipe->dentry = rpc_mkpipe_dentry(clp->cl_rpcclient->cl_dentry,
456 "idmap", idmap, pipe); 456 "idmap", idmap, pipe);
457 if (IS_ERR(pipe->dentry)) { 457 if (IS_ERR(pipe->dentry)) {
458 error = PTR_ERR(pipe->dentry); 458 error = PTR_ERR(pipe->dentry);