[Ocfs2-commits] tag, ocfs2-1.4.1, created. ocfs2-1.4.0-57-gf922955
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Jul 24 14:21:38 PDT 2008
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The ocfs2 filesystem version 1.4".
The tag, ocfs2-1.4.1 has been created
at f922955d99ef972235bd0c1fc236c5ddbb368611 (commit)
- Log -----------------------------------------------------------------
commit f922955d99ef972235bd0c1fc236c5ddbb368611
Author: Julia Lawall <julia at diku.dk>
Date: Wed Jul 23 11:33:42 2008 -0700
ocfs2: Release mutex in error handling code
The mutex is released on a successful return, so it would seem that it
should be released on an error return as well.
The semantic patch finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
expression l;
@@
mutex_lock(l);
... when != mutex_unlock(l)
when any
when strict
(
if (...) { ... when != mutex_unlock(l)
+ mutex_unlock(l);
return ...;
}
|
mutex_unlock(l);
)
// </smpl>
Signed-off-by: Julia Lawall <julia at diku.dk>
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
-----------------------------------------------------------------------
hooks/post-receive
--
The ocfs2 filesystem version 1.4
More information about the Ocfs2-commits
mailing list