dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Cyril Roelandt 2012-11-11 21:49:30 +01:00 committed by Joerg Roedel
parent e41105687b
commit b334b64862
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}