Files
linux/include/scsi
Dan Williams 6ef1b512f4 [SCSI] libsas: fix taskfile corruption in sas_ata_qc_fill_rtf
fill_result_tf() grabs the taskfile flags from the originating qc which
sas_ata_qc_fill_rtf() promptly overwrites.  The presence of an
ata_taskfile in the sata_device makes it tempting to just copy the full
contents in sas_ata_qc_fill_rtf().  However, libata really only wants
the fis contents and expects the other portions of the taskfile to not
be touched by ->qc_fill_rtf.  To that end store a fis buffer in the
sata_device and use ata_tf_from_fis() like every other ->qc_fill_rtf()
implementation.

Cc: <[email protected]>
Reported-by: Praveen Murali <[email protected]>
Tested-by: Praveen Murali <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
2012-07-08 09:49:14 +01:00
..
2012-02-19 08:08:58 -06:00
2012-05-23 09:40:09 +01:00
2012-02-19 08:08:58 -06:00
2009-12-30 12:23:27 -08:00
2009-03-12 12:58:06 -05:00
2007-10-12 14:51:56 -04:00
…
2010-03-12 15:53:10 -08:00