aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2009-05-12 08:49:32 +0200
committerJens Axboe <[email protected]>2009-05-12 08:49:32 +0200
commite458824f9d32e9bf7700d1eb0d201749af48eee0 (patch)
tree6f6d755bb2617b1bf3f567d9cfc8c1752151aea7 /net/lapb/lapb_in.c
parent0b0a47f5c4a30b58432e20ae1706a27baea91a88 (diff)
scsi: fix resid_len mis-conversion in scsi_end_request()
Commit c3a4d78c580de4edc9ef0f7c59812fb02ceb037f introduced rq->data_len and converted residual count users to it. While converting, it mistakenly converted scsi_end_request() to finish requests with residual count when it wants to do is fully complete the request. Fix it by using blk_end_request_all() instead. This bug was spotted by Boaz Harrosh. Signed-off-by: Tejun Heo <[email protected]> Spotted-by: Boaz Harrosh <[email protected]> Cc: FUJITA Tomonori <[email protected]> Cc: James Bottomley <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions