• Jeff Garzik's avatar
    [libata scsi] fix read/write translation edge cases · 13593265
    Jeff Garzik authored
    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.
    13593265
libata-scsi.c 40.8 KB