From: Cyril Roelandt <tipecaml@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org
Subject: [PATCH 0/3] Use dput() after d_find_alias().
Date: Sun, 11 Nov 2012 20:49:28 +0000 [thread overview]
Message-ID: <1352666971-13551-1-git-send-email-tipecaml@gmail.com> (raw)
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.
next reply other threads:[~2012-11-11 20:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-11 20:49 Cyril Roelandt [this message]
2012-11-11 20:49 ` [PATCH 1/3] Coccinelle: Add api/d_find_alias.cocci Cyril Roelandt
2012-11-11 20:49 ` [PATCH 2/3] iommu/tegra-smmu.c: fix dentry reference leak in smmu_debugfs_stats_show() Cyril Roelandt
2012-11-12 7:39 ` Hiroshi Doyu
2012-11-17 12:26 ` Joerg Roedel
2012-11-11 20:49 ` [PATCH 3/3] ceph: fix dentry reference leak in ceph_encode_fh() Cyril Roelandt
2012-11-20 16:21 ` Alex Elder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352666971-13551-1-git-send-email-tipecaml@gmail.com \
--to=tipecaml@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).