ide-atapi: switch to blk_rq_bytes() on do_request() path
authorBorislav Petkov <petkovbb@gmail.com>
Fri, 1 May 2009 18:35:21 +0000 (20:35 +0200)
committerBorislav Petkov <petkovbb@gmail.com>
Fri, 15 May 2009 04:43:59 +0000 (06:43 +0200)
After the recent struct request cleanups, blk_rq_bytes() is guaranteed
to be valid and is the current total length of the rq's bio. Use that
instead of pc->req_xfer in the do_request() path after the command has
been queued

The remaining usage of pc->req_xfer now is only until we map the rq to a
bio.

While at it:

- remove local caching of rq completion length in ide_tape_issue_pc()

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>

No differences found