Julia Lawall
cc967be547
fs: Add missing mutex_unlock
...
Add a mutex_unlock missing on the error path. At other exists from the
function that return an error flag, the mutex is unlocked, so do the same
here.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@@
expression E1;
@@
* mutex_lock(E1,...);
<+... when != E1
if (...) {
... when != E1
* return ...;
}
...+>
* mutex_unlock(E1,...);
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-05-27 22:03:09 -04:00
..
2010-05-24 07:41:13 -07:00
2010-03-30 22:02:32 +09:00
2010-05-27 09:12:53 -07:00
2010-05-21 18:31:28 -04:00
2010-05-27 09:12:56 -07:00
2010-05-27 09:12:41 -07:00
2010-03-30 22:02:32 +09:00
2010-05-21 18:31:25 -04:00
2010-05-27 10:43:44 -07:00
2010-05-12 18:23:58 -07:00
2010-05-24 07:37:52 -07:00
2010-05-17 20:59:21 +00:00
2010-05-24 08:01:10 -07:00
2010-05-15 07:16:33 -04:00
2010-03-30 22:02:32 +09:00
2010-05-21 18:31:12 -04:00
2010-04-30 14:52:51 -05:00
2010-05-21 18:31:28 -04:00
2010-05-24 07:57:41 -07:00
2009-10-27 19:34:04 -04:00
2010-05-21 18:31:24 -04:00
2010-05-21 19:37:45 -07:00
2010-05-27 10:26:37 -07:00
2010-05-25 08:07:04 -07:00
2010-05-27 09:12:56 -07:00
2010-05-26 08:19:23 -07:00
2010-05-25 15:08:26 -07:00
2010-05-25 08:17:51 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 05:27:03 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-03 14:08:00 -05:00
2009-12-16 12:16:47 -05:00
2010-05-27 09:12:56 -07:00
2010-05-21 19:30:41 +02:00
2010-05-27 10:26:37 -07:00
2010-05-21 18:31:20 -04:00
2010-05-21 18:31:23 -04:00
2010-03-30 22:02:32 +09:00
2010-05-21 18:31:27 -04:00
2010-05-21 18:31:24 -04:00
2010-05-27 09:12:56 -07:00
2010-05-26 08:43:53 -04:00
2010-03-30 22:02:32 +09:00
2010-05-25 08:07:02 -07:00
2010-05-21 19:37:45 -07:00
2009-09-30 09:31:14 -07:00
2010-05-21 18:31:14 -04:00
2010-05-25 08:07:03 -07:00
2010-05-25 08:07:02 -07:00
2010-05-21 18:31:25 -04:00
2010-05-25 08:07:06 -07:00
2010-05-27 09:12:47 -07:00
2010-05-27 09:12:56 -07:00
2010-05-27 10:26:37 -07:00
2010-05-21 18:31:26 -04:00
2010-05-27 09:12:56 -07:00
2010-01-26 22:22:26 -05:00
2010-05-27 09:12:56 -07:00
2010-05-23 08:27:42 +01:00
2010-05-21 09:37:31 -07:00
2010-05-21 18:31:26 -04:00
2010-05-21 18:31:26 -04:00
2010-05-27 09:12:56 -07:00
2010-05-27 09:12:43 -07:00
2010-05-24 11:57:36 -05:00
2010-05-27 22:03:07 -04:00
2010-05-27 22:03:05 -04:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-04-27 09:01:26 -07:00
2010-03-06 11:26:46 -08:00
2010-03-30 22:02:32 +09:00
2010-04-21 13:28:49 +10:00
2010-03-30 22:02:32 +09:00
2010-01-29 08:22:01 -08:00
2010-03-30 22:02:32 +09:00
2010-03-19 08:05:10 +01:00
2010-05-21 19:37:45 -07:00
2010-05-21 19:37:45 -07:00
2009-09-24 07:21:03 -07:00
2010-03-06 11:26:45 -08:00
2010-04-29 08:44:37 -07:00
2010-05-27 09:12:53 -07:00
2010-05-21 18:31:16 -04:00
2010-05-25 10:34:56 -04:00
2010-05-21 18:31:16 -04:00
2010-03-30 22:02:32 +09:00
2010-05-11 17:43:58 +02:00
2010-05-27 09:12:46 -07:00
2010-05-21 21:27:26 +02:00
2010-03-30 22:02:32 +09:00
2010-05-27 22:03:07 -04:00
2010-03-06 11:26:29 -08:00
2010-03-30 22:02:32 +09:00
2010-05-25 08:07:00 -07:00
2010-05-21 18:31:18 -04:00
2010-05-21 18:31:22 -04:00
2010-05-21 18:31:16 -04:00
2010-05-21 18:31:18 -04:00
2010-03-30 22:02:32 +09:00
2010-03-19 09:43:06 -07:00
2010-05-10 23:08:17 +02:00
2010-03-08 16:55:37 +01:00
2010-05-21 18:31:17 -04:00
2010-03-30 22:02:32 +09:00
2010-05-27 22:03:06 -04:00
2010-05-18 08:57:00 +10:00
2010-03-03 13:00:21 -05:00
2010-05-21 18:31:17 -04:00
2010-05-27 22:03:09 -04:00
2010-03-03 13:00:22 -05:00
2010-03-03 14:07:55 -05:00
2010-05-27 09:12:56 -07:00
2010-03-12 15:52:32 -08:00
2010-03-07 15:48:26 -08:00
2010-03-30 22:02:32 +09:00
2010-05-21 21:12:40 +02:00
2009-12-17 10:58:17 -05:00
2009-12-23 13:33:54 +01:00
2010-05-21 18:31:17 -04:00
2010-05-21 18:31:22 -04:00
2010-05-21 19:37:45 -07:00
2010-05-20 13:21:42 -07:00
2010-03-30 22:02:32 +09:00
2010-05-21 18:31:18 -04:00