)]}'
{
  "commit": "16f0587e0a5da5b1ad76cb7c3739491bc042201c",
  "tree": "fe16fb6117ff4ea4eedaf790b369721db262b296",
  "parents": [
    "5d259fc7da83249a4f78fe32de2bc2874a997a9f"
  ],
  "author": {
    "name": "Hu Tao",
    "email": "hutao@cn.fujitsu.com",
    "time": "Sun Jan 26 11:12:37 2014 +0800"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Sun Feb 09 09:12:39 2014 +0100"
  },
  "message": "qcow2: remove n_start and n_end of qcow2_alloc_cluster_offset()\n\nn_start can be actually calculated from offset. The number of\nsectors to be allocated(n_end - n_start) can be passed in in\nnum. By removing n_start and n_end, we can save two parameters.\n\nThe side effect is there is a bug in qcow2.c:preallocate() that\npasses incorrect n_start to qcow2_alloc_cluster_offset() is\nfixed. The bug can be triggerred by a larger cluster size than\nthe default value(65536), for example:\n\n./qemu-img create -f qcow2 \\\n  -o \u0027cluster_size\u003d131072,preallocation\u003dmetadata\u0027 file.img 4G\n\nSigned-off-by: Hu Tao \u003chutao@cn.fujitsu.com\u003e\nReviewed-by: Max Reitz \u003cmreitz@redhat.com\u003e\nReviewed-by: Benoit Canet \u003cbenoit@irqsave.net\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "853408438aeaea7c2f3575d178005e1aa8012243",
      "old_mode": 33188,
      "old_path": "block/qcow2-cluster.c",
      "new_id": "c57f39dd2b496d187db66c8f5f1124318bb2908f",
      "new_mode": 33188,
      "new_path": "block/qcow2-cluster.c"
    },
    {
      "type": "modify",
      "old_id": "99a1ad13e63f378e1c7fc65bb3624f6a8e5f0400",
      "old_mode": 33188,
      "old_path": "block/qcow2.c",
      "new_id": "a274d5f9f953ab0a7c755dea73a4a6c250a8d2e7",
      "new_mode": 33188,
      "new_path": "block/qcow2.c"
    },
    {
      "type": "modify",
      "old_id": "b5b7d13630e30f5eaecc6b00d811314e25925ef8",
      "old_mode": 33188,
      "old_path": "block/qcow2.h",
      "new_id": "0b0eac899c5653943b06e37102fa584977fc623f",
      "new_mode": 33188,
      "new_path": "block/qcow2.h"
    },
    {
      "type": "modify",
      "old_id": "1b668d1ac24d302049515230faaf3ffe186685bd",
      "old_mode": 33188,
      "old_path": "trace-events",
      "new_id": "ab11f9721d65a4c4b9ee50f3d7d8e3c842241021",
      "new_mode": 33188,
      "new_path": "trace-events"
    }
  ]
}
