)]}'
{
  "commit": "00fdc6bbef77844ce397a7de7acfaf25e8e2e4eb",
  "tree": "df8d71a6b9c9239b68d43fc04d57580caf3e4992",
  "parents": [
    "087a03b3ea1c8d6e2d5743a8d1c6d571058caa04"
  ],
  "author": {
    "name": "Nicholas Bellinger",
    "email": "nab@linux-iscsi.org",
    "time": "Tue Mar 13 18:20:11 2012 -0700"
  },
  "committer": {
    "name": "Nicholas Bellinger",
    "email": "nab@linux-iscsi.org",
    "time": "Tue Mar 13 21:43:58 2012 -0700"
  },
  "message": "iscsi-target: Fix reservation conflict -EBUSY response handling bug\n\nThis patch addresses a iscsi-target specific bug related to reservation conflict\nhandling in iscsit_handle_scsi_cmd() that has been causing reservation conflicts\nto complete and not fail as expected due to incorrect errno checking.  The problem\noccured with the change to return -EBUSY from transport_generic_cmd_sequencer() -\u003e\ntransport_generic_allocate_tasks() failures, that broke iscsit_handle_scsi_cmd()\nchecking for -EINVAL in order to invoke a non GOOD status response.\n\nThis was manifesting itself as data corruption with legacy SPC-2 reservations,\nbut also effects iscsi-target LUNs with SPC-3 persistent reservations.\n\nThis bug was originally introduced in lio-core commit:\n\ncommit 03e98c9eb916f3f0868c1dc344dde2a60287ff72\nAuthor: Nicholas Bellinger \u003cnab@linux-iscsi.org\u003e\nDate:   Fri Nov 4 02:36:16 2011 -0700\n\n    target: Address legacy PYX_TRANSPORT_* return code breakage\n\nReported-by: Martin Svec \u003cmartin.svec@zoner.cz\u003e\nCc: Martin Svec \u003cmartin.svec@zoner.cz\u003e\nCc: Christoph Hellwig \u003chch@lst.de\u003e\nCc: stable@vger.kernel.org\nSigned-off-by: Nicholas Bellinger \u003cnab@linux-iscsi.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44262908def547557e5c3fe0a8a8cd34a00dfbd7",
      "old_mode": 33188,
      "old_path": "drivers/target/iscsi/iscsi_target.c",
      "new_id": "501b27c18145af979ca5fcbbc60f38ee2f064287",
      "new_mode": 33188,
      "new_path": "drivers/target/iscsi/iscsi_target.c"
    }
  ]
}
