aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index a4aa4bf84738..8e2868617a46 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -147,7 +147,7 @@ int ide_complete_rq(ide_drive_t *drive, int error, unsigned int nr_bytes)
147 struct request *rq = hwif->rq; 147 struct request *rq = hwif->rq;
148 int rc; 148 int rc;
149 149
150 rc = blk_end_request(rq, error, nr_bytes); 150 rc = ide_end_rq(drive, rq, error, nr_bytes);
151 if (rc == 0) 151 if (rc == 0)
152 hwif->rq = NULL; 152 hwif->rq = NULL;
153 153