Coccinelle: add api/d_find_alias.cocci
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 18 Dec 2012 22:21:28 +0000 (14:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 23:02:11 +0000 (15:02 -0800)
commitaf56e3f017bae54b9c3b5f7877d5eff990a2eed9
treeaefe2e189094966dd1522b99dc57f08ab23017d1
parent19af395d7c0daaafdebd441a162128aaac575912
Coccinelle: add api/d_find_alias.cocci

Ensure that calls to d_find_alias() have a corresponding dput().

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Gilles Muller <Gilles.Muller@lip6.fr>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/coccinelle/api/d_find_alias.cocci [new file with mode: 0644]