)]}'
{
  "commit": "b4d02820d95e025e57d82144f7b2ccd677ac2418",
  "tree": "f3fdbd48d3333518264c8eca44663842a304f3f5",
  "parents": [
    "1354c473789a91ba603d40bdf2521e3221c0a69f"
  ],
  "author": {
    "name": "Max Reitz",
    "email": "mreitz@redhat.com",
    "time": "Mon Oct 19 17:53:15 2015 +0200"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Fri Oct 23 18:18:23 2015 +0200"
  },
  "message": "block: Invoke change media CB before NULLing drv\n\nIn order to handle host device passthrough, some guest device models\nmay call blk_is_inserted() to check whether the medium is inserted on\nthe host, when checking the guest tray status.\n\nThis tray status is inquired by blk_dev_change_media_cb(); because\nbdrv_is_inserted() (invoked by blk_is_inserted()) always returns false\nfor BDS with drv set to NULL, blk_dev_change_media_cb() should therefore\nbe called before drv is set to NULL.\n\nSigned-off-by: Max Reitz \u003cmreitz@redhat.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nReviewed-by: Alberto Garcia \u003cberto@igalia.com\u003e\nReviewed-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bb8c06732875f2bc7657ceab4ac3805427a562d4",
      "old_mode": 33188,
      "old_path": "block.c",
      "new_id": "4a75bb72ead047d56fd6d5b19cfc8f478fe98a2e",
      "new_mode": 33188,
      "new_path": "block.c"
    }
  ]
}
