[libata scsi] fix read/write translation edge cases
authorJeff Garzik <jgarzik@pobox.com>
Sat, 27 Aug 2005 08:20:12 +0000 (04:20 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 27 Aug 2005 08:20:12 +0000 (04:20 -0400)
Fix bugs for unlikely edge cases noticed by Douglas Gilbert:

- When READ(6)/WRITE(6) sector count == 0, treat it as 256 sectors

- For other READ(x)/WRITE(x), when sector count == 0, error.
  We don't support successfully completing zero-length transfers at
  this time.


No differences found