diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-31 23:11:48 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-08-24 21:50:07 +0200 |
commit | 5d67476fff2df6ff12f60b540fd0e74cf2a668f9 (patch) | |
tree | d1428c5562ce6b24919da18c44746d363e9864e1 /fs | |
parent | VFS: add lookup hint for network file systems (diff) | |
download | linux-5d67476fff2df6ff12f60b540fd0e74cf2a668f9.tar.xz linux-5d67476fff2df6ff12f60b540fd0e74cf2a668f9.zip |
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) 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); } |