Kiyoshi Ueda 3b0e044d5a ide: another possible ide panic fix for blk-end-request
I have reviewed all blk-end-request patches again to confirm whether
there are any similar problems with the last week's ide-cd panic:
    http://lkml.org/lkml/2008/1/29/140

And I found a possible similar bug in ide-io change:
ide_end_drive_cmd() could be called for blk_pc_request() which could
have bios.  To complete such requests correctly, we need to pass
the actual size of the request.
Otherwise, __blk_end_request() returns 1 because the request still has
bios, and the system will BUG() unnecessarily.

The following patch fixes the bug and should be applied on top of
Linus' git.

Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Cc: Borislav Petkov <petkovbb@googlemail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-11 00:32:11 +01:00
..
2008-02-09 03:33:40 -05:00
2008-02-05 09:44:23 -08:00
2008-02-06 10:41:15 -08:00
2008-02-07 20:39:44 -05:00
2008-02-08 14:32:37 -08:00
2008-02-08 09:22:38 -08:00
2008-02-08 02:11:39 +00:00
2008-02-03 17:21:01 +02:00
2008-02-07 08:42:23 -08:00
2008-02-09 10:46:40 +01:00
2008-01-31 11:25:51 +11:00
2008-02-09 23:27:01 -08:00
2008-02-09 10:43:58 +01:00
2008-02-03 17:30:25 +02:00
2008-02-06 10:41:07 -08:00