diff options
author | Cyril Roelandt <tipecaml@gmail.com> | 2012-11-11 21:49:30 +0100 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2012-11-17 13:25:40 +0100 |
commit | b334b64862efd0eee8d07f2faabbe4b56ee974cd (patch) | |
tree | bd3d8225629728f19fbb203080f57fa031a3c2a9 /drivers/iommu | |
parent | e41105687b90819d04226ee454e2dd0fc1130810 (diff) |
iommu/tegra-smmu.c: fix dentry reference leak in smmu_debugfs_stats_show().
Call to d_find_alias() needs a corresponding dput().
Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/tegra-smmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index a649f146d17b..c0f7a4266263 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c @@ -1054,6 +1054,7 @@ static int smmu_debugfs_stats_show(struct seq_file *s, void *v) stats[i], val, offs); } seq_printf(s, "\n"); + dput(dent); return 0; } |