)]}'
{
  "commit": "093bb6a2d378ee83fc6ab886c772b6be86abb5a8",
  "tree": "30fea295440a3c4d5242902fbf3a7b3543d9aa9d",
  "parents": [
    "52a6690d3f0cb7414c34b1e26c569b32d4987662"
  ],
  "author": {
    "name": "Joe Eykholt",
    "email": "jeykholt@cisco.com",
    "time": "Tue Nov 03 11:49:05 2009 -0800"
  },
  "committer": {
    "name": "James Bottomley",
    "email": "James.Bottomley@suse.de",
    "time": "Fri Dec 04 12:01:17 2009 -0600"
  },
  "message": "[SCSI] libfc: add set_fid function to libfc template\n\nThis is to notify the LLD when an FC_ID is assigned to the local port.\n\nThe fnic driver needs to push the assigned FC_ID to firmware.\nIt currently does this by intercepting the FLOGI responses, and\nin order to make that code more common with FIP and NPIV, it\nmakes more sense to wait until the local port has completely\nhandled the FLOGI or FDISC response.  Also, when we fix\npoint-to-point FC_ID assignment, we\u0027ll need this callback as well.\n\nAdd a call to the libfc template, which is called whenever\nthe local port FC_ID is being assigned.  It defaults to\nfc_lport_set_fid(), supplied by libfc.\n\nAs additional benefit of this function, the LLD may determine\nthe MAC address that caused the change by looking at the received frame.\n\nWe also print the assigned port ID as long as it isn\u0027t 0.\nSetting port ID to 0 happens often in reset while retrying FLOGI,\nand would be uninteresting.  This replaces the previous message\nwhich didn\u0027t identify the host adapter instance.\n\npatch v2 note: changed one word in a comment.  \"intercepted\" -\u003e \"provided\".\n\nSigned-off-by: Joe Eykholt \u003cjeykholt@cisco.com\u003e\nSigned-off-by: Robert Love \u003crobert.w.love@intel.com\u003e\nSigned-off-by: James Bottomley \u003cJames.Bottomley@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "90930c43545527431cdf3c9b8d52ea8c1dcf3a84",
      "old_mode": 33188,
      "old_path": "drivers/scsi/libfc/fc_lport.c",
      "new_id": "653b52dd2ff7d296ffa9d35fc5322dd5b852ecc2",
      "new_mode": 33188,
      "new_path": "drivers/scsi/libfc/fc_lport.c"
    },
    {
      "type": "modify",
      "old_id": "310d8a22b726b98b6609ad842937718d8c83f7e4",
      "old_mode": 33188,
      "old_path": "include/scsi/libfc.h",
      "new_id": "67ce9fa1fee437c22410428066be2f6c81ea1601",
      "new_mode": 33188,
      "new_path": "include/scsi/libfc.h"
    }
  ]
}
