)]}'
{
  "commit": "5c44cd2afad3f7b015542187e147a820600172f1",
  "tree": "ef4b63ee55d0481569b1bd680e376b0d94b2b6f0",
  "parents": [
    "9c472dd9197429a37691e91c938660a062bf20b0"
  ],
  "author": {
    "name": "James.Smart@Emulex.Com",
    "email": "James.Smart@Emulex.Com",
    "time": "Fri Jun 10 22:24:30 2005 -0400"
  },
  "committer": {
    "name": "James Bottomley",
    "email": "jejb@mulgrave.(none)",
    "time": "Mon Aug 08 17:14:55 2005 -0500"
  },
  "message": "[SCSI] fix target scanning oops with fc transport class\n\nWe have some nasty issues with 2.6.12-rc6. Any request to scan on\nthe lpfc or qla2xxx FC adapters will oops. What is happening is the\nsystem is defaulting to non-transport registered targets, which\ninherit the parent of the scan. On this second scan, performed by\nthe attribute, the parent becomes the shost instead of the rport.\nThe slave functions in the 2 FC adapters use starget_to_rport()\nroutines, which incorrectly map the shost as an rport pointer.\n\nAdditionally, this pointed out other weaknesses:\n- If the target structure is torn down outside of the transport,\n  we have no method for it to be regenerated at the proper parent.\n- We have race conditions on the target being allocated by both\n  the midlayer scan (parent\u003dshost) and by the fc transport\n  (parent\u003drport).\n\nSigned-off-by: James Bottomley \u003cJames.Bottomley@SteelEye.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2d3c4ac475f233d5cd723331dc117883fb28021d",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_scan.c",
      "new_id": "48edd67982a5f85e8b6f5f2b842240fb5fbfc0d2",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_scan.c"
    },
    {
      "type": "modify",
      "old_id": "35d1c1e8e345dd67efcb2afafdcee616b0c23f3d",
      "old_mode": 33188,
      "old_path": "drivers/scsi/scsi_transport_fc.c",
      "new_id": "e6412fce423ce8fa5b2ebfd432f79c46f29c8d64",
      "new_mode": 33188,
      "new_path": "drivers/scsi/scsi_transport_fc.c"
    },
    {
      "type": "modify",
      "old_id": "a4f1837a33b150b925e471e1c2938d35a6c4eded",
      "old_mode": 33188,
      "old_path": "include/scsi/scsi_transport.h",
      "new_id": "f6e0bb484c63efb9194c8be4ce90bc7b5da0d482",
      "new_mode": 33188,
      "new_path": "include/scsi/scsi_transport.h"
    }
  ]
}
