From: Julia Lawall Date: Wed, 26 May 2010 15:58:53 +0000 (+0200) Subject: fs/ocfs2/dlm: Add missing spin_unlock X-Git-Tag: v2.6.35-rc6~34^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6469272c350872980891dbe38e81c936c43f2d9b;p=pandora-kernel.git fs/ocfs2/dlm: Add missing spin_unlock Add a spin_unlock missing on the error path. Unlock as in the other code that leads to the leave label. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression E1; @@ * spin_lock(E1,...); <+... when != E1 if (...) { ... when != E1 * return ...; } ...+> * spin_unlock(E1,...); // Signed-off-by: Julia Lawall Signed-off-by: Joel Becker --- Reading git-diff-tree failed