summaryrefslogtreecommitdiff
path: root/fs/nfs/idmap.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-08-01 01:11:48 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-08-24 23:50:07 +0400
commit5d67476fff2df6ff12f60b540fd0e74cf2a668f9 (patch)
treed1428c5562ce6b24919da18c44746d363e9864e1 /fs/nfs/idmap.c
parenta634904a7de0d3a0bc606f608007a34e8c05bfee (diff)
downloadlinux-5d67476fff2df6ff12f60b540fd0e74cf2a668f9.tar.xz
SUNRPC: make rpc_unlink() take a dentry argument instead of a path
Signe-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> (cherry picked from 88bf6d811b01a4be7fd507d18bf5f1c527989089 commit)
Diffstat (limited to 'fs/nfs/idmap.c')
-rw-r--r--fs/nfs/idmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c
index b81e7ed3c902..df0be1214358 100644
--- a/fs/nfs/idmap.c
+++ b/fs/nfs/idmap.c
@@ -130,9 +130,8 @@ nfs_idmap_delete(struct nfs4_client *clp)
if (!idmap)
return;
+ rpc_unlink(idmap->idmap_dentry);
dput(idmap->idmap_dentry);
- idmap->idmap_dentry = NULL;
- rpc_unlink(idmap->idmap_path);
clp->cl_idmap = NULL;
kfree(idmap);
}