Use dput() after d_find_alias().
Status from this message: Applied to iommu/fixes, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Coccinelle: Add api/d_find_alias.cocci.scripts/ | +80 | 0 replies | |
| 2/3 | iommu/tegra-smmu.c: fix dentry reference leak in smmu_debugfs_stats_show().drivers/ | +1 | 2 replies | |
| 3/3 | ceph: fix dentry reference leak in ceph_encode_fh().fs/ | +3 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Alex Elder |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Use dput() after d_find_alias().
Hello,
A call to d_find_alias() needs a corresponding call to dput() in order to avoid resource leaks.
The first patch is a Coccinelle scripts that looks for missing calls to dput(). The other two patches add calls to dput() where needed.
WBR,
Cyril Roelandt.