projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e411056
)
iommu/tegra-smmu.c: fix dentry reference leak in smmu_debugfs_stats_show().
author
Cyril Roelandt
<tipecaml@gmail.com>
Sun, 11 Nov 2012 20:49:30 +0000
(21:49 +0100)
committer
Joerg Roedel
<joro@8bytes.org>
Sat, 17 Nov 2012 12:25:40 +0000
(13:25 +0100)
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>
drivers/iommu/tegra-smmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/tegra-smmu.c
b/drivers/iommu/tegra-smmu.c
index a649f146d17bad0b62d15a1d174c57147a9a2a2f..c0f7a42662635a288fc8c98fabe3d8f1b35f1141 100644
(file)
--- a/
drivers/iommu/tegra-smmu.c
+++ b/
drivers/iommu/tegra-smmu.c
@@
-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;
}