| commit | 7207fea452cfdd2d4e2f4419e2c31f570edbade3 | [log] [tgz] |
|---|---|---|
| author | Boaz Harrosh <bharrosh@panasas.com> | Thu Dec 13 12:43:22 2007 -0600 |
| committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Fri Jan 11 18:28:22 2008 -0600 |
| tree | d240295f67ad9286295516dabc9949d5d3739700 | |
| parent | da32dd681f7a1a17073c42b375fc23cf73c92155 [diff] |
[SCSI] iscsi: Prettify resid handling and some extra checks
- Check to see that OVERFLOW is not negative indicating
a bug.
- Unify handling of UNDERFLOW and OVERFLOW to the same
code.
- Also handle BIDI_OVERFLOW.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>