Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}