Bartlomiej Zolnierkiewicz
4a3d8cf48c
ide-cd: use common completion path for DMA requests in cdrom_newpc_intr()
...
Use the following facts:
- rq->nr_sectors should now be always equal to (non-zero)
rq->hard_nr_sectors for fs requests
- REQ_TYPE_ATA_PC requests have never bio attached to them
- rq->hard_nr_sectors == 0 for REQ_TYPE_ATA_PC requests
- DMA is used only for fs, pc and REQ_TYPE_ATA_PC requests
- 'uptodate' is ignored for pc requests ('rc == 0' case)
and use the common completion path also for DMA requests.
There should be no functional changes caused by this patch
Cc: Borislav Petkov <petkovbb@gmail.com >
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com >
2009-03-31 20:15:15 +02:00
..
2009-03-27 17:28:43 +01:00
2009-03-24 16:38:22 -07:00
2009-03-28 20:29:51 +00:00
2009-03-21 19:06:51 -07:00
2009-03-27 17:28:43 +01:00
2009-03-26 16:15:31 -07:00
2009-02-27 06:14:50 +01:00
2009-03-30 11:31:47 -07:00
2009-03-27 17:28:43 +01:00
2009-02-02 23:22:04 -08:00
2009-03-26 11:04:08 -07:00
2009-03-26 11:04:34 -07:00
2009-03-23 09:25:58 -07:00
2009-03-24 16:38:22 -07:00
2009-03-28 20:29:51 +00:00
2009-03-24 16:38:21 -07:00
2009-03-27 17:28:43 +01:00
2009-03-24 20:56:52 +01:00
2009-02-22 20:05:19 +01:00
2009-03-24 16:38:23 -07:00
2009-03-28 04:26:01 +01:00
2009-03-26 16:14:02 -07:00
2009-03-12 13:36:39 +01:00
2009-03-30 14:04:53 +11:00
2009-03-31 20:15:15 +02:00
2009-03-27 18:33:56 -07:00
2009-03-28 13:30:43 -07:00
2009-03-28 14:03:14 -07:00
2009-03-26 15:23:24 -07:00
2009-02-20 10:55:14 +01:00
2009-03-27 17:28:43 +01:00
2009-02-11 16:00:07 +11:00
2009-03-24 16:38:23 -07:00
2009-03-16 17:44:36 +00:00
2009-03-30 12:43:50 -03:00
2009-01-09 16:54:41 -08:00
2009-02-22 08:51:07 -06:00
2009-03-24 16:38:23 -07:00
2009-03-28 14:04:53 -07:00
2009-03-28 20:29:51 +00:00
2009-03-28 14:03:14 -07:00
2009-03-30 10:36:35 -07:00
2009-01-09 15:49:06 -07:00
2009-01-27 12:01:51 +01:00
2009-03-15 13:36:22 -07:00
2009-02-22 09:23:02 -08:00
2009-03-28 22:27:45 +01:00
2009-03-28 20:29:51 +00:00
2009-03-26 16:14:02 -07:00
2009-01-09 03:39:43 -05:00
2009-03-12 16:20:23 -07:00
2009-03-11 17:10:17 +11:00
2009-03-24 16:38:21 -07:00
2009-01-30 21:50:49 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 13:30:43 -07:00
2009-03-13 14:30:08 -07:00
2009-03-28 14:03:14 -07:00
2009-03-30 14:04:53 +11:00
2009-03-29 08:12:39 -07:00
2009-03-30 14:04:53 +11:00
2009-03-27 20:13:20 -04:00
2009-03-24 00:35:35 +01:00
2009-03-24 16:38:22 -07:00
2009-03-24 16:38:25 -07:00
2009-03-28 14:03:14 -07:00
2009-01-23 12:57:20 +00:00
2009-03-28 20:29:51 +00:00
2009-02-02 19:17:56 -08:00
2009-03-25 18:31:35 +00:00
2009-03-30 14:04:53 +11:00
2009-02-22 20:05:19 +01:00
2009-03-24 16:38:21 -07:00
2009-03-28 13:06:16 -07:00