From: Bartlomiej Zolnierkiewicz Date: Sat, 26 Jan 2008 19:13:11 +0000 (+0100) Subject: ide: use rq->nr_sectors in task_end_request() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=79f21b84d94c02b941818df282b61f2a5a028722;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ide: use rq->nr_sectors in task_end_request() Signed-off-by: Bartlomiej Zolnierkiewicz --- 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) ide_driver_t *drv; drv = *(ide_driver_t **)rq->rq_disk->private_data;; - drv->end_request(drive, 1, rq->hard_nr_sectors); + drv->end_request(drive, 1, rq->nr_sectors); } else - ide_end_request(drive, 1, rq->hard_nr_sectors); + ide_end_request(drive, 1, rq->nr_sectors); } /*