Kiyoshi Ueda
f88fb98118
dm: dec_pending needs locking to save error value
...
Multiple instances of dec_pending() can run concurrently so a lock is
needed when it saves the first error code.
I have never experienced actual problem without locking and just found
this during code inspection while implementing the barrier support
patch for request-based dm.
This patch adds the locking.
I've done compile, boot and basic I/O testings.
Cc: stable@kernel.org
Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2009-10-16 23:18:15 +01:00
..
2009-10-15 00:47:13 -04:00
2009-09-12 12:01:34 +01:00
2009-10-09 00:29:07 -04:00
2009-09-30 16:12:20 -07:00
2009-09-22 07:17:27 -07:00
2009-10-13 09:18:22 +02:00
2009-09-15 10:17:16 -07:00
2009-09-24 07:21:04 -07:00
2009-10-15 15:06:02 -07:00
2009-10-06 01:39:51 -07:00
2009-09-18 09:16:57 -07:00
2009-09-22 07:17:45 -07:00
2009-09-13 10:27:04 -07:00
2009-09-23 18:31:11 +10:00
2009-10-08 12:06:36 -07:00
2009-10-14 15:36:19 -07:00
2009-10-05 12:05:40 -07:00
2009-10-01 16:11:11 -07:00
2009-10-09 09:19:23 -07:00
2009-10-13 10:10:33 -07:00
2009-10-11 11:23:33 -07:00
2009-10-04 22:53:45 +02:00
2009-10-08 11:59:06 -07:00
2009-10-11 11:20:58 -07:00
2009-10-11 11:20:58 -07:00
2009-10-11 11:20:58 -07:00
2009-10-11 11:20:58 -07:00
2009-10-04 22:53:43 +02:00
2009-10-11 11:20:58 -07:00
2009-10-14 16:58:35 +11:00
2009-10-16 23:18:15 +01:00
2009-10-11 11:20:58 -07:00
2009-09-24 07:21:05 -07:00
2009-10-11 11:20:58 -07:00
2009-10-12 15:19:23 +02:00
2009-10-11 11:20:58 -07:00
2009-10-12 15:30:50 +08:00
2009-10-11 11:20:58 -07:00
2009-10-15 15:03:17 -07:00
2009-09-23 07:39:43 -07:00
2009-10-09 21:32:05 +02:00
2009-09-22 07:17:38 -07:00
2009-09-24 07:21:04 -07:00
2009-10-13 10:20:16 -07:00
2009-10-02 16:20:43 -07:00
2009-10-15 00:47:13 -04:00
2009-09-25 15:09:48 -04:00
2009-09-23 03:49:27 +04:00
2009-09-11 11:28:00 +10:00
2009-09-22 13:58:23 +01:00
2009-10-11 11:20:58 -07:00
2009-10-14 12:43:54 +02:00
2009-09-22 07:17:25 -07:00
2009-10-11 11:12:33 -07:00
2009-10-12 10:21:33 -07:00
2009-10-03 01:16:12 -04:00
2009-10-05 17:55:55 +01:00
2009-09-23 11:35:41 -04:00
2009-10-14 14:14:40 -07:00
2009-09-19 01:41:49 -04:00
2009-10-11 11:20:58 -07:00
2009-10-14 14:54:44 -07:00
2009-10-11 11:20:58 -07:00
2009-10-08 12:01:01 -07:00
2009-09-23 22:26:32 +09:30
2009-09-24 07:21:05 -07:00
2009-10-04 22:53:41 +02:00
2009-10-14 01:18:26 -07:00
2009-10-04 15:05:10 -07:00
2009-09-23 10:07:49 -07:00