aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/idmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c
index 821edd30333b..32c95a0d93f3 100644
--- a/fs/nfs/idmap.c
+++ b/fs/nfs/idmap.c
@@ -132,6 +132,8 @@ nfs_idmap_delete(struct nfs4_client *clp)
132 132
133 if (!idmap) 133 if (!idmap)
134 return; 134 return;
135 dput(idmap->idmap_dentry);
136 idmap->idmap_dentry = NULL;
135 rpc_unlink(idmap->idmap_path); 137 rpc_unlink(idmap->idmap_path);
136 clp->cl_idmap = NULL; 138 clp->cl_idmap = NULL;
137 kfree(idmap); 139 kfree(idmap);