diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-31 17:11:48 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-08-24 15:50:07 -0400 |
commit | 5d67476fff2df6ff12f60b540fd0e74cf2a668f9 (patch) | |
tree | d1428c5562ce6b24919da18c44746d363e9864e1 /fs | |
parent | a634904a7de0d3a0bc606f608007a34e8c05bfee (diff) |
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')
-rw-r--r-- | fs/nfs/idmap.c | 3 |
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) | |||
130 | 130 | ||
131 | if (!idmap) | 131 | if (!idmap) |
132 | return; | 132 | return; |
133 | rpc_unlink(idmap->idmap_dentry); | ||
133 | dput(idmap->idmap_dentry); | 134 | dput(idmap->idmap_dentry); |
134 | idmap->idmap_dentry = NULL; | ||
135 | rpc_unlink(idmap->idmap_path); | ||
136 | clp->cl_idmap = NULL; | 135 | clp->cl_idmap = NULL; |
137 | kfree(idmap); | 136 | kfree(idmap); |
138 | } | 137 | } |