CC: kernel: update kernel 3.18 to version 3.18.23
[15.05/openwrt.git] / target / linux / oxnas / patches-3.18 / 999-libata-hacks.patch
index 4c29bb0..f5ad6ee 100644 (file)
@@ -15,7 +15,7 @@
        /* initialize internal qc */
  
        /* XXX: Tag 0 is used for drivers with legacy EH as some
-@@ -4794,6 +4802,9 @@ static struct ata_queued_cmd *ata_qc_new
+@@ -4796,6 +4804,9 @@ static struct ata_queued_cmd *ata_qc_new
        if (unlikely(ap->pflags & ATA_PFLAG_FROZEN))
                return NULL;
  
@@ -25,7 +25,7 @@
        for (i = 0, tag = ap->last_tag + 1; i < max_queue; i++, tag++) {
                if (ap->flags & ATA_FLAG_LOWTAG)
                        tag = i;
-@@ -4866,6 +4877,8 @@ void ata_qc_free(struct ata_queued_cmd *
+@@ -4868,6 +4879,8 @@ void ata_qc_free(struct ata_queued_cmd *
        if (likely(ata_tag_valid(tag))) {
                qc->tag = ATA_TAG_POISON;
                clear_bit(tag, &ap->qc_allocated);