]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/ata/libata-eh.c
libata-eh: Set 'information' field for autosense
[mirror_ubuntu-artful-kernel.git] / drivers / ata / libata-eh.c
index 170e891e79afdf8228e1a1fe94226bda4b666432..e4e0e2e80c20e2de2eb82dec494ac4dfa30beb04 100644 (file)
@@ -1856,6 +1856,8 @@ void ata_eh_analyze_ncq_error(struct ata_link *link)
                asc = (qc->result_tf.auxiliary >> 8) & 0xff;
                ascq = qc->result_tf.auxiliary & 0xff;
                ata_scsi_set_sense(qc->scsicmd, sense_key, asc, ascq);
+               ata_scsi_set_sense_information(dev, qc->scsicmd,
+                                              &qc->result_tf);
                qc->flags |= ATA_QCFLAG_SENSE_VALID;
        }