Skip to content

Commit b334b64

Browse files
Steapjoergroedel
authored andcommitted
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>
1 parent e411056 commit b334b64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/iommu/tegra-smmu.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@ static int smmu_debugfs_stats_show(struct seq_file *s, void *v)
10541054
stats[i], val, offs);
10551055
}
10561056
seq_printf(s, "\n");
1057+
dput(dent);
10571058

10581059
return 0;
10591060
}

0 commit comments

Comments
 (0)