diff options
author | Borislav Petkov <petkovbb@gmail.com> | 2009-05-01 20:35:21 +0200 |
---|---|---|
committer | Borislav Petkov <petkovbb@gmail.com> | 2009-05-15 06:43:59 +0200 |
commit | dfb7e621fa12c0579e88560ab176c5768f9e0bfb (patch) | |
tree | 9a0fc84735ee3290c366b4244763013ba07bcdd7 /drivers/rtc/rtc-ds1390.c | |
parent | ide-tape: fix potential fs requests bug (diff) | |
download | linux-dfb7e621fa12c0579e88560ab176c5768f9e0bfb.tar.xz linux-dfb7e621fa12c0579e88560ab176c5768f9e0bfb.zip |
ide-atapi: switch to blk_rq_bytes() on do_request() path
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>
Diffstat (limited to 'drivers/rtc/rtc-ds1390.c')
0 files changed, 0 insertions, 0 deletions