commit | b334b64862efd0eee8d07f2faabbe4b56ee974cd | [log] [tgz] |
---|---|---|
author | Cyril Roelandt <tipecaml@gmail.com> | Sun Nov 11 21:49:30 2012 +0100 |
committer | Joerg Roedel <joro@8bytes.org> | Sat Nov 17 13:25:40 2012 +0100 |
tree | bd3d8225629728f19fbb203080f57fa031a3c2a9 | |
parent | e41105687b90819d04226ee454e2dd0fc1130810 [diff] [blame] |
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>
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index a649f14..c0f7a42 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c
@@ -1054,6 +1054,7 @@ stats[i], val, offs); } seq_printf(s, "\n"); + dput(dent); return 0; }