)]}'
{
  "commit": "77ceab8ea590d7dc6c8f055ce43dfebd74428107",
  "tree": "b2ef5e5baca4579565ab9bf527e965dd9b93a25a",
  "parents": [
    "33ef6b6984403a688189317ef46bb3caab3b70e0"
  ],
  "author": {
    "name": "Ben Blum",
    "email": "bblum@andrew.cmu.edu",
    "time": "Wed Nov 02 13:38:07 2011 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Wed Nov 02 16:06:59 2011 -0700"
  },
  "message": "cgroups: don\u0027t attach task to subsystem if migration failed\n\nIf a task has exited to the point it has called cgroup_exit() already,\nthen we can\u0027t migrate it to another cgroup anymore.\n\nThis can happen when we are attaching a task to a new cgroup between the\ncall to -\u003ecan_attach_task() on subsystems and the migration that is\neventually tried in cgroup_task_migrate().\n\nIn this case cgroup_task_migrate() returns -ESRCH and we don\u0027t want to\nattach the task to the subsystems because the attachment to the new cgroup\nitself failed.\n\nFix this by only calling -\u003eattach_task() on the subsystems if the cgroup\nmigration succeeded.\n\nReported-by: Oleg Nesterov \u003coleg@redhat.com\u003e\nSigned-off-by: Ben Blum \u003cbblum@andrew.cmu.edu\u003e\nAcked-by: Paul Menage \u003cpaul@paulmenage.org\u003e\nCc: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nCc: Tejun Heo \u003ctj@kernel.org\u003e\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\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": "64b0e73402dfc412f721869735fe9c712d3d925a",
      "old_mode": 33188,
      "old_path": "kernel/cgroup.c",
      "new_id": "8386b21224ef3e03ecc0ed850d949d6345888448",
      "new_mode": 33188,
      "new_path": "kernel/cgroup.c"
    }
  ]
}
