From: Boaz Harrosh Date: Sun, 24 May 2009 17:04:00 +0000 (+0300) Subject: [SCSI] libosd: Let _osd_req_finalize_data_integrity receive number of out_bytes X-Git-Tag: v2.6.31-rc1~365^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=546881aea9787ed5c626ac99ab80158ea9ae0515;p=pandora-kernel.git [SCSI] libosd: Let _osd_req_finalize_data_integrity receive number of out_bytes _osd_req_finalize_data_integrity was trying to deduce the number of out_bytes from passed osd_request->out.bio. This is wrong when the bio is chained. The caller of _osd_req_finalize_data_integrity has more ready available information and should just pass it. Also in the light of future support for CDB-continuation segment this is a better solution. Signed-off-by: Boaz Harrosh Signed-off-by: James Bottomley --- Reading git-diff-tree failed