Skip to content

Use dput() after d_find_alias().

Cyril Roelandt ceph-devel cocci kernel-janitors linux-iommu lkml 1 version Applied

Status from this message: Applied to iommu/fixes, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3Coccinelle: Add api/d_find_alias.cocci.scripts/coccinelle/api/d_find_alias.cocci+80 -00 replies
2/3iommu/tegra-smmu.c: fix dentry reference leak in smmu_debugfs_stats_show().drivers/iommu/tegra-smmu.c+1 -02 replies
3/3ceph: fix dentry reference leak in ceph_encode_fh().fs/ceph/export.c+3 -11 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlex Elder
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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.