diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-05-24 19:04:00 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-10 15:58:20 +0200 |
commit | 546881aea9787ed5c626ac99ab80158ea9ae0515 (patch) | |
tree | 1fd837f6bd53d69e257a659183d3387b7ace6654 /include/scsi/osd_initiator.h | |
parent | [SCSI] libosd: osd_req_{read,write}_kern new API (diff) | |
download | linux-546881aea9787ed5c626ac99ab80158ea9ae0515.tar.xz linux-546881aea9787ed5c626ac99ab80158ea9ae0515.zip |
[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 <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/osd_initiator.h')
0 files changed, 0 insertions, 0 deletions