Geert Uytterhoeven
dc8a0843a4
[JFFS2] fix race condition in jffs2_lzo_compress()
...
deflate_mutex protects the globals lzo_mem and lzo_compress_buf. However,
jffs2_lzo_compress() unlocks deflate_mutex _before_ it has copied out the
compressed data from lzo_compress_buf. Correct this by moving the mutex
unlock after the copy.
In addition, document what deflate_mutex actually protects.
Cc: stable@kernel.org
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-11-05 23:22:02 +01:00
..
2008-10-17 12:44:46 -05:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-16 11:21:48 -07:00
2008-10-13 10:10:37 -07:00
2008-10-16 11:21:39 -07:00
2008-10-16 11:21:46 -07:00
2008-09-13 14:41:51 -07:00
2008-10-20 08:52:42 -07:00
2008-10-16 09:24:43 -07:00
2008-08-22 11:09:02 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-10-13 10:10:37 -07:00
2008-09-05 09:51:30 -05:00
2008-10-16 11:21:39 -07:00
2008-09-02 23:15:22 +01:00
2008-04-30 08:29:54 -07:00
2008-10-20 11:43:59 -07:00
2008-10-20 11:43:59 -07:00
2008-10-20 11:43:59 -07:00
2008-10-13 10:10:37 -07:00
2008-04-29 08:06:00 -07:00
2008-10-16 16:08:57 +02:00
2008-10-13 10:10:37 -07:00
2008-10-16 11:21:46 -07:00
2008-10-20 08:52:38 -07:00
2008-07-26 20:53:14 -04:00
2008-10-13 10:10:37 -07:00
2008-07-26 20:53:07 -04:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-10-20 11:43:59 -07:00
2008-10-20 11:43:59 -07:00
2008-11-05 23:22:02 +01:00
2008-10-13 10:10:37 -07:00
2008-10-04 17:12:27 -04:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:37 -04:00
2008-10-20 09:39:20 -07:00
2008-10-04 17:12:27 -04:00
2008-10-17 02:38:36 +11:00
2008-10-20 08:50:25 -07:00
2008-10-14 18:31:46 -07:00
2008-10-13 10:10:37 -07:00
2008-07-26 12:00:07 -07:00
2008-10-17 08:46:56 +02:00
2008-10-20 13:23:01 -07:00
2008-07-26 12:00:07 -07:00
2008-10-20 08:50:26 -07:00
2008-10-16 11:21:46 -07:00
2008-07-30 14:30:34 -07:00
2008-07-26 20:53:14 -04:00
2008-10-16 09:24:52 -07:00
2008-07-26 12:00:07 -07:00
2008-10-20 09:19:03 -07:00
2008-10-13 10:10:37 -07:00
2008-10-13 10:10:37 -07:00
2008-07-25 10:53:34 -07:00
2008-10-15 10:00:00 -07:00
2008-07-26 20:53:40 -04:00
2008-07-24 10:47:28 -07:00
2008-07-26 20:53:28 -04:00
2008-07-26 20:53:14 -04:00
2008-07-26 12:00:08 -07:00
2008-10-20 20:17:18 -07:00
2008-10-20 13:19:56 -07:00
2008-10-16 11:21:38 -07:00
2008-10-16 11:21:29 -07:00
2008-10-16 11:21:38 -07:00
2008-10-16 11:21:38 -07:00
2008-10-16 11:21:38 -07:00
2008-10-09 08:56:21 +02:00
2008-10-09 08:57:05 +02:00
2008-10-17 08:46:57 +02:00
2008-10-20 08:52:32 -07:00
2008-10-17 02:38:36 +11:00
2008-01-30 13:31:46 +01:00
2008-07-25 10:53:34 -07:00
2008-10-16 11:21:33 -07:00
2008-09-29 07:42:57 -07:00
2008-02-14 21:17:09 -08:00
2008-10-16 11:21:32 -07:00
2008-05-01 13:08:16 -04:00
2008-10-16 11:21:46 -07:00
2008-04-29 08:06:05 -07:00
2008-07-24 10:47:29 -07:00
2008-10-16 11:21:32 -07:00
2008-10-20 08:52:39 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:06 -04:00
2008-07-26 20:53:40 -04:00
2008-08-01 11:25:23 -04:00
2008-10-16 11:21:32 -07:00
2008-08-15 08:35:44 -07:00
2008-10-02 15:53:13 -07:00
2008-02-06 10:41:07 -08:00
2008-04-21 23:11:01 -04:00
2008-10-12 11:44:37 -07:00
2008-08-20 15:40:32 -07:00
2008-10-20 12:53:27 -07:00
2008-10-20 08:52:39 -07:00
2008-07-30 09:41:44 -07:00
2008-07-26 12:00:07 -07:00
2008-10-16 11:21:51 -07:00
2008-04-15 19:35:41 -07:00
2008-10-16 11:21:32 -07:00
2008-08-01 11:25:30 -04:00
2008-08-01 11:25:32 -04:00
2008-02-14 21:13:33 -08:00
2008-10-13 09:51:41 -07:00
2008-07-26 20:53:06 -04:00
2008-04-23 00:05:09 -04:00
2008-04-23 00:05:09 -04:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00
2008-08-25 01:18:08 -04:00
2008-06-22 12:23:15 -07:00
2008-10-20 08:52:39 -07:00
2008-07-24 10:47:29 -07:00
2008-10-09 14:26:38 -07:00
2008-07-26 20:53:34 -04:00
2008-07-24 10:47:15 -07:00
2008-07-24 10:47:17 -07:00
2008-07-24 10:47:29 -07:00
2008-07-26 20:53:34 -04:00
2008-07-26 20:53:34 -04:00