]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] SCSI: clean up R/W recovery mode page
authorJeff Garzik <jeff@garzik.org>
Fri, 21 Sep 2007 11:54:49 +0000 (07:54 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:40 +0000 (14:55 -0400)
commit266862333008eab0ac045c79178e8495b38386ba
tree2709ec5b4bb5f0e9c980621e7a1a2b97bdcd7a93
parent0387ec34a1e5350c8deb42e7bc91800429288d40
[libata] SCSI: clean up R/W recovery mode page

Clear ARRE, we don't do auto-reallocation on reads, just on writes.

Also, hardcode the size of the array using RW_RECOVERY_MPAGE_LEN,
following the style of the surrounding code.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c