[libata] SCSI: clean up R/W recovery mode page
commit24f756866676b40446e361c1f87738707161da93
authorJeff Garzik <jeff@garzik.org>
Fri, 21 Sep 2007 11:54:49 +0000 (21 07:54 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:40 +0000 (12 14:55 -0400)
tree2709ec5b4bb5f0e9c980621e7a1a2b97bdcd7a93
parent00bd02027fc4a5cf92a3e538896b3642b40515df
[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