Akinobu Mita
fc3fc352b6
[SCSI] scsi_debug: fix incorrectly nested kmap_atomic()
...
In the function prot_verify_write(), kmap_atomic()/kunmap_atomic() for
data page and kmap_atomic()/kunmap_atomic() for protection information
page are not nested each other.
It worked perfectly before commit 3e4d3af501
("mm: stack based kmap_atomic()"). Because the kmap_atomic slot KM_IRQ0
was used for data page and the slot KM_IRQ1 was used for protection page.
But KM_types are gone and kmap_atomic() is using stack based implementation.
So two different kmap_atomic() usages must be strictly nested now.
This change ensures kmap_atomic() usage is strictly nested.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com >
Acked-by: Douglas Gilbert <dgilbert@interlog.com >
Acked-by: "Martin K. Petersen" <martin.petersen@oracle.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2013-07-09 09:21:38 +01:00
..
2013-07-04 10:29:23 -07:00
2013-06-03 21:49:52 +02:00
2013-07-03 19:49:46 -07:00
2013-07-04 15:51:45 -07:00
2013-05-17 14:31:05 -04:00
2013-07-03 17:12:13 -07:00
2013-06-13 13:05:40 -04:00
2013-07-02 14:23:01 -07:00
2013-07-03 16:07:25 -07:00
2013-07-05 12:12:33 -07:00
2013-07-03 14:35:40 -07:00
2013-07-03 09:46:29 -07:00
2013-07-04 11:40:58 -07:00
2013-07-03 14:35:40 -07:00
2013-07-05 12:12:33 -07:00
2013-07-03 17:12:13 -07:00
2013-07-03 17:12:13 -07:00
2013-07-03 13:11:18 -07:00
2013-07-03 16:07:41 -07:00
2013-05-09 10:11:48 -07:00
2013-07-04 10:29:23 -07:00
2013-06-24 16:23:25 -07:00
2013-07-03 14:35:40 -07:00
2013-07-04 11:40:58 -07:00
2013-07-04 15:35:08 -07:00
2013-07-03 16:07:41 -07:00
2013-06-24 16:24:17 -07:00
2013-07-03 19:56:35 -07:00
2013-05-07 14:01:27 -07:00
2013-07-04 14:02:09 -07:00
2013-07-03 16:07:41 -07:00
2013-05-11 15:23:17 -07:00
2013-06-11 20:34:36 +01:00
2013-07-04 15:51:45 -07:00
2013-07-04 15:35:08 -07:00
2013-07-04 10:29:23 -07:00
2013-07-02 16:14:35 -07:00
2013-07-03 16:07:41 -07:00
2013-07-02 08:44:02 -07:00
2013-07-04 11:40:58 -07:00
2013-07-01 11:46:56 +10:00
2013-06-11 11:41:51 -05:00
2013-07-04 11:40:58 -07:00
2013-07-04 11:40:58 -07:00
2013-06-17 16:46:06 -07:00
2013-07-03 16:08:06 -07:00
2013-07-03 16:07:41 -07:00
2013-07-03 19:52:22 -07:00
2013-07-04 11:40:58 -07:00
2013-07-03 14:35:40 -07:00
2013-07-05 12:09:48 -07:00
2013-07-04 15:51:45 -07:00
2013-07-04 11:40:58 -07:00
2013-05-15 10:58:22 -07:00
2013-05-04 14:47:26 -04:00
2013-07-04 15:51:45 -07:00
2013-07-03 09:10:19 -07:00
2013-07-03 17:12:13 -07:00
2013-07-03 17:12:13 -07:00
2013-07-02 11:44:19 -07:00
2013-07-03 11:48:03 -07:00
2013-07-03 16:07:41 -07:00
2013-07-03 14:35:40 -07:00
2013-06-10 10:50:48 -07:00
2013-07-03 16:08:06 -07:00
2013-06-24 16:41:32 -07:00
2013-05-18 11:55:58 +02:00
2013-07-03 16:08:05 -07:00
2013-07-03 11:56:38 -07:00
2013-06-11 11:41:51 -05:00
2013-05-07 14:02:00 -07:00
2013-07-03 16:08:01 -07:00
2013-07-04 12:30:30 -07:00
2013-07-09 09:21:38 +01:00
2013-06-28 13:01:40 +02:00
2013-07-03 17:12:13 -07:00
2013-05-09 10:15:46 -07:00
2013-06-14 18:28:02 -07:00
2013-07-03 17:12:13 -07:00
2013-06-20 16:47:41 -07:00
2013-06-19 01:31:50 +09:00
2013-07-04 15:35:08 -07:00
2013-07-03 16:07:26 -07:00
2013-07-04 15:51:45 -07:00
2013-07-03 16:07:41 -07:00
2013-07-04 10:29:23 -07:00
2013-06-11 02:46:21 -07:00
2013-07-04 11:40:58 -07:00
2013-07-03 17:12:13 -07:00
2013-06-24 16:23:25 -07:00
2013-07-03 16:08:06 -07:00
2013-07-04 10:29:23 -07:00
2013-07-03 17:12:13 -07:00
2013-06-29 12:57:28 +04:00
2013-06-17 16:38:57 -07:00
2013-06-17 16:38:57 -07:00