diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-27 04:20:12 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-27 04:20:12 -0400 |
commit | 135932651fd1eeb95eb6c5d4f6652aae73fe2c24 (patch) | |
tree | 3a440b2a471ef4ab57b8aa75c3b068b2b52910ed /drivers/scsi/sata_qstor.c | |
parent | d18d36b4edbb980c9de7fe00724c3ded5de1b7a7 (diff) | |
download | blackbird-op-linux-135932651fd1eeb95eb6c5d4f6652aae73fe2c24.tar.gz blackbird-op-linux-135932651fd1eeb95eb6c5d4f6652aae73fe2c24.zip |
[libata scsi] fix read/write translation edge cases
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.
Diffstat (limited to 'drivers/scsi/sata_qstor.c')
0 files changed, 0 insertions, 0 deletions