diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index b25d10b56c0d..3bbb438f4f92 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -424,9 +424,9 @@ static void task_end_request(ide_drive_t *drive, struct request *rq, u8 stat) | |||
424 | ide_driver_t *drv; | 424 | ide_driver_t *drv; |
425 | 425 | ||
426 | drv = *(ide_driver_t **)rq->rq_disk->private_data;; | 426 | drv = *(ide_driver_t **)rq->rq_disk->private_data;; |
427 | drv->end_request(drive, 1, rq->hard_nr_sectors); | 427 | drv->end_request(drive, 1, rq->nr_sectors); |
428 | } else | 428 | } else |
429 | ide_end_request(drive, 1, rq->hard_nr_sectors); | 429 | ide_end_request(drive, 1, rq->nr_sectors); |
430 | } | 430 | } |
431 | 431 | ||
432 | /* | 432 | /* |