Commit b334b648 authored by Cyril Roelandt's avatar Cyril Roelandt Committed by Joerg Roedel

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: default avatarCyril Roelandt <tipecaml@gmail.com>
Signed-off-by: default avatarJoerg Roedel <joro@8bytes.org>
parent e4110568
...@@ -1054,6 +1054,7 @@ static int smmu_debugfs_stats_show(struct seq_file *s, void *v) ...@@ -1054,6 +1054,7 @@ static int smmu_debugfs_stats_show(struct seq_file *s, void *v)
stats[i], val, offs); stats[i], val, offs);
} }
seq_printf(s, "\n"); seq_printf(s, "\n");
dput(dent);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment