)]}'
{
  "commit": "2e5704f63ed56b040a3189f6b7eb17f6f849ea22",
  "tree": "4b3df2d375da3fefa5a8d22f6f41a9e5f7ce5798",
  "parents": [
    "ad706991f4f0d1476aecbdae2df5e36552b340b2"
  ],
  "author": {
    "name": "Tejun Heo",
    "email": "htejun@gmail.com",
    "time": "Sun Dec 17 10:46:33 2006 +0900"
  },
  "committer": {
    "name": "Jeff Garzik",
    "email": "jeff@garzik.org",
    "time": "Wed Dec 20 14:26:26 2006 -0500"
  },
  "message": "[PATCH] libata: take scmd-\u003ecmd_len into account when translating SCSI commands\n\nlibata depended on SCSI command to have the correct length when\ntranlating it into an ATA command.  This generally worked for commands\nissued by SCSI HLD but user could issue arbitrary broken command using\nsg interface.\n\nAlso, when building ATAPI command, full command size was always\ncopied.  Because some ATAPI devices needs bytes after CDB cleared, if\nupper layer doesn\u0027t clear bytes after CDB, such devices will\nmalfunction.  This necessiated recent clear-garbage-after-CDB fix in\nsg interfaces.  However, scsi_execute() isn\u0027t fixed yet and HL-DT-ST\nDVD-RAM GSA-H30N malfunctions on initialization commands issued from\nSCSI.\n\nThis patch makes xlat functions always consider SCSI cmd_len.  Each\ntranslation function checks for proper cmd_len and ATAPI translaation\nclears bytes after CDB.\n\nSigned-off-by: Tejun Heo \u003chtejun@gmail.com\u003e\nCc: Jens Axboe \u003cjens.axboe@oracle.com\u003e\nCc: Douglas Gilbert \u003cdougg@torque.net\u003e\nSigned-off-by: Jeff Garzik \u003cjeff@garzik.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "307910bd62c3474527b6d3300c0d570737aa82b7",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-scsi.c",
      "new_id": "836947da5b14de4f7e75859d2e500cb2001b31a4",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-scsi.c"
    }
  ]
}
