summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2012-11-11 21:49:30 +0100
committerJoerg Roedel <joro@8bytes.org>2012-11-17 13:25:40 +0100
commitb334b64862efd0eee8d07f2faabbe4b56ee974cd (patch)
treebd3d8225629728f19fbb203080f57fa031a3c2a9 /drivers/iommu
parente41105687b90819d04226ee454e2dd0fc1130810 (diff)
downloadlinux-b334b64862efd0eee8d07f2faabbe4b56ee974cd.tar.gz
linux-b334b64862efd0eee8d07f2faabbe4b56ee974cd.tar.bz2
linux-b334b64862efd0eee8d07f2faabbe4b56ee974cd.zip
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.c1
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;
}