Browse Source

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>
Cyril Roelandt 12 years ago
parent
commit
b334b64862
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/iommu/tegra-smmu.c

+ 1 - 0
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;
 }