projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6]
/
drivers
/
ide
/
ide-taskfile.c
diff --git
a/drivers/ide/ide-taskfile.c
b/drivers/ide/ide-taskfile.c
index
fbcb415
..
75b85a8
100644
(file)
--- a/
drivers/ide/ide-taskfile.c
+++ b/
drivers/ide/ide-taskfile.c
@@
-384,7
+384,7
@@
out_end:
if ((cmd->tf_flags & IDE_TFLAG_FS) == 0)
ide_finish_cmd(drive, cmd, stat);
else
- ide_complete_rq(drive, 0,
cmd->rq->nr_sectors
<< 9);
+ ide_complete_rq(drive, 0,
blk_rq_sectors(cmd->rq)
<< 9);
return ide_stopped;
out_err:
ide_error_cmd(drive, cmd);