)]}'
{
  "commit": "8dba474f034c322d96ada39cb20cac711d80dcb2",
  "tree": "ef007c5c3088b2ef83be074a7720892b6b8e5e4b",
  "parents": [
    "2ff754fa8f416e82327f2d8f1354a033b66286df"
  ],
  "author": {
    "name": "Jesper Juhl",
    "email": "jj@chaosbits.net",
    "time": "Tue Jan 25 15:07:24 2011 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Jan 26 10:50:01 2011 +1000"
  },
  "message": "mm/memcontrol.c: fix uninitialized variable use in mem_cgroup_move_parent()\n\nIn mm/memcontrol.c::mem_cgroup_move_parent() there\u0027s a path that jumps\nto the \u0027put_back\u0027 label\n\n  \tret \u003d __mem_cgroup_try_charge(NULL, gfp_mask, \u0026parent, false, charge);\n  \tif (ret || !parent)\n  \t\tgoto put_back;\n\nwhere we\u0027ll\n\n  \tif (charge \u003e PAGE_SIZE)\n  \t\tcompound_unlock_irqrestore(page, flags);\n\nbut, we have not assigned anything to \u0027flags\u0027 at this point, nor have we\ncalled \u0027compound_lock_irqsave()\u0027 (which is what sets \u0027flags\u0027).  The\n\u0027put_back\u0027 label should be moved below the call to\ncompound_unlock_irqrestore() as per this patch.\n\nSigned-off-by: Jesper Juhl \u003cjj@chaosbits.net\u003e\nCc: Balbir Singh \u003cbalbir@linux.vnet.ibm.com\u003e\nCc: Daisuke Nishimura \u003cnishimura@mxp.nes.nec.co.jp\u003e\nCc: KAMEZAWA Hiroyuki \u003ckamezawa.hiroyu@jp.fujitsu.com\u003e\nCc: Pavel Emelianov \u003cxemul@openvz.org\u003e\nCc: \"Kirill A. Shutemov\" \u003ckirill@shutemov.name\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db76ef726293fa744da16ef8cabbe643980bf07e",
      "old_mode": 33188,
      "old_path": "mm/memcontrol.c",
      "new_id": "4fcf47a62550a4d31f875187fc6d5d3343f586a9",
      "new_mode": 33188,
      "new_path": "mm/memcontrol.c"
    }
  ]
}
