summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-taskfile.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 12:46:44 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 12:46:44 +0100
commitf974b196f58fe042c7b2b4c0ee15d5a6112dbf40 (patch)
treeb717d35a8d6b3c60aa7a95ca1a1002918cb678a1 /drivers/ide/ide-taskfile.c
parenta9587fd8c48415cc93fef7f4ba7748a5d3477e7b (diff)
downloadlinux-f974b196f58fe042c7b2b4c0ee15d5a6112dbf40.tar.gz
linux-f974b196f58fe042c7b2b4c0ee15d5a6112dbf40.tar.bz2
linux-f974b196f58fe042c7b2b4c0ee15d5a6112dbf40.zip
ide: pass number of bytes to complete to ide_complete_rq()
There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r--drivers/ide/ide-taskfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c
index e9d008ef3f33..b9d7ba2c8a00 100644
--- a/drivers/ide/ide-taskfile.c
+++ b/drivers/ide/ide-taskfile.c
@@ -294,7 +294,7 @@ void ide_finish_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 stat)
ide_complete_cmd(drive, cmd, stat, err);
rq->errors = err;
- ide_complete_rq(drive, err ? -EIO : 0);
+ ide_complete_rq(drive, err ? -EIO : 0, blk_rq_bytes(rq));
}
/*