)]}'
{
  "commit": "2aabe7c7a16cee6b1b54592fa05b5f9c23c89bc0",
  "tree": "da45f57f7fcd1a09b6e2835c04cd93ff95737a37",
  "parents": [
    "7324c10f96c821b00d691e2c8ced67d8536bf1d6"
  ],
  "author": {
    "name": "Max Reitz",
    "email": "mreitz@redhat.com",
    "time": "Tue Feb 10 15:28:47 2015 -0500"
  },
  "committer": {
    "name": "Kevin Wolf",
    "email": "kwolf@redhat.com",
    "time": "Tue Mar 10 14:02:21 2015 +0100"
  },
  "message": "qcow2: Use unsigned addend for update_refcount()\n\nupdate_refcount() and qcow2_update_cluster_refcount() currently take a\nsigned addend. At least one caller passes a value directly derived from\nan absolute refcount that should be reached (\"l2_refcount - 1\" in\nexpand_zero_clusters_in_l1()). Therefore, the addend should be unsigned\nas well; this will be especially important for 64 bit refcounts.\n\nBecause update_refcount() then no longer knows whether the refcount\nshould be increased or decreased, it now requires an additional flag\nwhich specified exactly that. The same applies to\nqcow2_update_cluster_refcount().\n\nSigned-off-by: Max Reitz \u003cmreitz@redhat.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nSigned-off-by: Kevin Wolf \u003ckwolf@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ee50500a076dcb39d00be8ee7f8975ce89981453",
      "old_mode": 33188,
      "old_path": "block/qcow2-cluster.c",
      "new_id": "405329adb560e7b3b26209bc430113dd046e707f",
      "new_mode": 33188,
      "new_path": "block/qcow2-cluster.c"
    },
    {
      "type": "modify",
      "old_id": "d8534903c33bbe7724c0ea937e2e6ae1af1ac067",
      "old_mode": 33188,
      "old_path": "block/qcow2-refcount.c",
      "new_id": "354a355acfbf591796961b55eb06c6a7149025c8",
      "new_mode": 33188,
      "new_path": "block/qcow2-refcount.c"
    },
    {
      "type": "modify",
      "old_id": "a33431f05a91a2b00404ecb0adecae14d934bd36",
      "old_mode": 33188,
      "old_path": "block/qcow2.h",
      "new_id": "40910d817db464a1cb4aa956f08de5c291581a7a",
      "new_mode": 33188,
      "new_path": "block/qcow2.h"
    }
  ]
}
