diff options
Diffstat (limited to 'drivers/block/paride/pcd.c')
-rw-r--r-- | drivers/block/paride/pcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c index 9fd57c2aa463..2d5dc0af55e4 100644 --- a/drivers/block/paride/pcd.c +++ b/drivers/block/paride/pcd.c | |||
@@ -728,8 +728,8 @@ static void do_pcd_request(struct request_queue * q) | |||
728 | if (cd != pcd_current) | 728 | if (cd != pcd_current) |
729 | pcd_bufblk = -1; | 729 | pcd_bufblk = -1; |
730 | pcd_current = cd; | 730 | pcd_current = cd; |
731 | pcd_sector = pcd_req->sector; | 731 | pcd_sector = blk_rq_pos(pcd_req); |
732 | pcd_count = pcd_req->current_nr_sectors; | 732 | pcd_count = blk_rq_cur_sectors(pcd_req); |
733 | pcd_buf = pcd_req->buffer; | 733 | pcd_buf = pcd_req->buffer; |
734 | pcd_busy = 1; | 734 | pcd_busy = 1; |
735 | ps_set_intr(do_pcd_read, NULL, 0, nice); | 735 | ps_set_intr(do_pcd_read, NULL, 0, nice); |