)]}'
{
  "commit": "445d211b0da4e9a6e6d576edff85085c2aaf53df",
  "tree": "039ade5b49cb0bbd388babc369f28f541c76ec96",
  "parents": [
    "68b0ddb289220b6d4d865be128939663be34959d"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "tj@kernel.org",
    "time": "Mon Apr 05 10:33:13 2010 +0900"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jgarzik@redhat.com",
    "time": "Tue Apr 06 10:55:33 2010 -0400"
  },
  "message": "libata: unlock HPA if device shrunk\n\nSome BIOSes don\u0027t configure HPA during boot but do so while resuming.\nThis causes harddrives to shrink during resume making libata detach\nand reattach them.  This can be worked around by unlocking HPA if old\nsize equals native size.\n\nAdd ATA_DFLAG_UNLOCK_HPA so that HPA unlocking can be controlled\nper-device and update ata_dev_revalidate() such that it sets\nATA_DFLAG_UNLOCK_HPA and fails with -EIO when the above condition is\ndetected.\n\nThis patch fixes the following bug.\n\n  https://bugzilla.kernel.org/show_bug.cgi?id\u003d15396\n\nSigned-off-by: Tejun Heo \u003ctj@kernel.org\u003e\nReported-by: Oleksandr Yermolenko \u003cyaa.bta@gmail.com\u003e\nSigned-off-by: Jeff Garzik \u003cjgarzik@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2ab34dc97f6f506b8cecdce26b702fa496b82482",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-core.c",
      "new_id": "49cffb6094a3183958fe536542c1b9208becaaf2",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-core.c"
    },
    {
      "type": "modify",
      "old_id": "f8ea71e6d0e2f52c4811d14de18ea7d231b37959",
      "old_mode": 33188,
      "old_path": "include/linux/libata.h",
      "new_id": "b2f2003b92e5e727f9e5388f100bac66afd99e35",
      "new_mode": 33188,
      "new_path": "include/linux/libata.h"
    }
  ]
}
