)]}'
{
  "commit": "82dc8b411040fa8a7418a012ff39b8d06f68e639",
  "tree": "187c54fb09f1d0c94044cd7381c9d9059dc281b2",
  "parents": [
    "3db34bf64ab4f8797565dd8750003156c32b301d"
  ],
  "author": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Mon Jan 11 19:07:50 2016 +0100"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Tue Jan 19 17:43:55 2016 +0100"
  },
  "message": "block: Fix .bdrv_open flags\n\nbdrv_common_open() modified bs-\u003eopen_flags after inferring the set of\noptions to pass to the driver\u0027s .bdrv_open callback. This means that the\ncache options were correctly set in bs-\u003eopen_flags (and therefore\ncorrectly displayed in \u0027info block\u0027), but the image would actually be\nopened with the default cache mode instead.\n\nThis patch removes the flags parameter to bdrv_common_open() (except for\nBDRV_O_NO_BACKING it\u0027s the same as bs-\u003eopen_flags anyway, and having two\nnames for the same thing is confusing), and moves the assignment of\nopen_flags down to immediately before calling into the block drivers. In\nall other places, bs-\u003eopen_flags is now used consistently.\n\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\nTested-by: Christian Borntraeger \u003cborntraeger@de.ibm.com\u003e\nReviewed-by: Denis V. Lunev \u003cden@openvz.org\u003e\nReviewed-by: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "54c37f9629167d026cba618fff63007731e7eec2",
      "old_mode": 33188,
      "old_path": "block.c",
      "new_id": "1a137167d948e5f5c358c815a0eaa52796f0ca0f",
      "new_mode": 33188,
      "new_path": "block.c"
    }
  ]
}
