diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-01 16:31:17 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-01 16:31:17 +0900 |
commit | 86e1b5e084c2ceb283cb9e700ba620277170ed87 (patch) | |
tree | 1aadc8112f4b37fc3bfe96145e8e75e080e6d226 | |
parent | c814df621eaf4b5c16f488056fa473b770f62a48 (diff) | |
download | stable-queue-86e1b5e084c2ceb283cb9e700ba620277170ed87.tar.gz |
remove .38 libata patch that shouldn't be there
-rw-r--r-- | queue-2.6.38/libata-use-maximum-write-same-length-to-report-discard-size.patch | 38 | ||||
-rw-r--r-- | queue-2.6.38/series | 1 |
2 files changed, 0 insertions, 39 deletions
diff --git a/queue-2.6.38/libata-use-maximum-write-same-length-to-report-discard-size.patch b/queue-2.6.38/libata-use-maximum-write-same-length-to-report-discard-size.patch deleted file mode 100644 index 47496548c1..0000000000 --- a/queue-2.6.38/libata-use-maximum-write-same-length-to-report-discard-size.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 5f4e206666f834340b69ddb43f86de3851c8675a Mon Sep 17 00:00:00 2001 -From: "Martin K. Petersen" <martin.petersen@oracle.com> -Date: Tue, 17 May 2011 22:13:23 -0400 -Subject: libata: Use Maximum Write Same Length to report discard size - limit - -From: "Martin K. Petersen" <martin.petersen@oracle.com> - -commit 5f4e206666f834340b69ddb43f86de3851c8675a upstream. - -Previously we used Maximum Unmap LBA Count in the Block Limits VPD to -signal the maximum number of sectors we could handle in a single Write -Same command. - -Starting with SBC3r26 the Block Limits VPD has an explicit limit on the -number of blocks in a Write Same. This means we can stop abusing a field -related to the Unmap command and let our SAT use the proper value in the -VPD (Maximum Write Same Length). - -Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> -Signed-off-by: Jeff Garzik <jgarzik@pobox.com> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> - ---- - 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 -@@ -2127,7 +2127,7 @@ static unsigned int ata_scsiop_inq_b0(st - * with the unmap bit set. - */ - if (ata_id_has_trim(args->id)) { -- put_unaligned_be32(65535 * 512 / 8, &rbuf[20]); -+ put_unaligned_be64(65535 * 512 / 8, &rbuf[36]); - put_unaligned_be32(1, &rbuf[28]); - } - diff --git a/queue-2.6.38/series b/queue-2.6.38/series index 4ee51c8972..e041aa73a4 100644 --- a/queue-2.6.38/series +++ b/queue-2.6.38/series @@ -30,7 +30,6 @@ block-always-allocate-genhd-ev-if-check_events-is.patch mtd-mtdconcat-fix-nand-oob-write.patch mtd-return-badblockbits-back.patch x86-64-bit-fix-copy__user-checks-for-the.patch -libata-use-maximum-write-same-length-to-report-discard-size.patch iwlwifi-fix-bugs-in-change_interface.patch nl80211-fix-set_key-regression-with-some-drivers.patch mac80211-fix-a-few-rcu-issues.patch |