)]}'
{
  "commit": "e014e9444aedc365742d533e1443b22470cc67b9",
  "tree": "5647eca5f1a28297b023fd1a7b9b1c37030de9a6",
  "parents": [
    "906ee99dd2a5c819c1171ce5eaf6c080c027e58c"
  ],
  "author": {
    "name": "Alex Williamson",
    "email": "alex.williamson@redhat.com",
    "time": "Thu Feb 14 14:02:13 2013 -0700"
  },
  "committer": {
    "name": "Alex Williamson",
    "email": "alex.williamson@redhat.com",
    "time": "Thu Feb 14 14:02:13 2013 -0700"
  },
  "message": "vfio: Protect vfio_dev_present against device_del\n\nvfio_dev_present is meant to give us a wait_event callback so that we\ncan block removing a device from vfio until it becomes unused.  The\nroot of this check depends on being able to get the iommu group from\nthe device.  Unfortunately if the BUS_NOTIFY_DEL_DEVICE notifier has\nfired then the device-group reference is no longer searchable and we\nfail the lookup.\n\nWe don\u0027t need to go to such extents for this though.  We have a\nreference to the device, from which we can acquire a reference to the\ngroup.  We can then use the group reference to search for the device\nand properly block removal.\n\nSigned-off-by: Alex Williamson \u003calex.williamson@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "12c264d3b058bf1bb7884a484aaf7631f5aa0d16",
      "old_mode": 33188,
      "old_path": "drivers/vfio/vfio.c",
      "new_id": "8e6dcecbc407473cb70002fc46066f9cdf0f5b63",
      "new_mode": 33188,
      "new_path": "drivers/vfio/vfio.c"
    }
  ]
}
