This is a note to let you know that I've just added the patch titled
libata-scsi passthru: fix bug which truncated LBA48 return values
to the 2.6.32-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
libata-scsi-passthru-fix-bug-which-truncated-lba48-return-values.patch
and it can be found in the queue-2.6.32 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From bc496ed00ab1411d3efaf295b72e0c9eb343e1a3 Mon Sep 17 00:00:00 2001
From: Douglas Gilbert <[email protected]>
Date: Mon, 1 Feb 2010 13:11:38 -0500
Subject: libata-scsi passthru: fix bug which truncated LBA48 return values
From: Douglas Gilbert <[email protected]>
commit bc496ed00ab1411d3efaf295b72e0c9eb343e1a3 upstream.
Fix assignment which overwrote SAT ATA PASS-THROUGH command EXTEND
bit setting (ATA_TFLAG_LBA48)
Signed-off-by: Douglas Gilbert <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Cc: Kerin Millar <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/ata/libata-scsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -2825,7 +2825,7 @@ static unsigned int ata_scsi_pass_thru(s
* write indication (used for PIO/DMA setup), result TF is
* copied back and we don't whine too much about its failure.
*/
- tf->flags = ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE;
+ tf->flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE;
if (scmd->sc_data_direction == DMA_TO_DEVICE)
tf->flags |= ATA_TFLAG_WRITE;
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.32/libata-scsi-passthru-fix-bug-which-truncated-lba48-return-values.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable