diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-08-14 19:11:15 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-08-24 21:50:51 +0200 |
commit | 8f8e7a50f450fcb86a5b2ffb94543c57a14f8260 (patch) | |
tree | fc48bee347dad1c6100468c2169d34152e2daac1 /fs | |
parent | SUNRPC: rpc_unlink() must check for unhashed dentries (diff) | |
download | linux-8f8e7a50f450fcb86a5b2ffb94543c57a14f8260.tar.xz linux-8f8e7a50f450fcb86a5b2ffb94543c57a14f8260.zip |
SUNRPC: Fix dentry refcounting issues with users of rpc_pipefs
rpc_unlink() and rpc_rmdir() will dput the dentry reference for you.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from a05a57effa71a1f67ccbfc52335c10c8b85f3f6a commit)
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/idmap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index df0be1214358..07a5dd57646e 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c @@ -131,7 +131,6 @@ nfs_idmap_delete(struct nfs4_client *clp) if (!idmap) return; rpc_unlink(idmap->idmap_dentry); - dput(idmap->idmap_dentry); clp->cl_idmap = NULL; kfree(idmap); } |