Skip to content

Commit

Permalink
iommu/tegra-smmu.c: fix dentry reference leak in smmu_debugfs_stats_s…
Browse files Browse the repository at this point in the history
…how().

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>
  • Loading branch information
Cyril Roelandt authored and Joerg Roedel committed Nov 17, 2012
1 parent e411056 commit b334b64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iommu/tegra-smmu.c
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit b334b64

Please sign in to comment.