From: Borislav Petkov Date: Fri, 1 May 2009 18:35:21 +0000 (+0200) Subject: ide-atapi: switch to blk_rq_bytes() on do_request() path X-Git-Tag: v2.6.31-rc1~103^2~19^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfb7e621fa12c0579e88560ab176c5768f9e0bfb;p=pandora-kernel.git 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 --- Reading git-diff-tree failed