)]}'
{
  "commit": "37340746a66e5e7feed5945f28cb75d90a8fd9f6",
  "tree": "b056132aad9eab38886b7359797302cbeeabc3fa",
  "parents": [
    "aae8679b0ebcaa92f99c1c3cb0cd651594a43915"
  ],
  "author": {
    "name": "Lai Jiangshan",
    "email": "laijs@cn.fujitsu.com",
    "time": "Thu Jun 05 22:46:32 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Jun 06 11:29:11 2008 -0700"
  },
  "message": "cpusets: fix bug when adding nonexistent cpu or mem\n\nAdding a nonexistent cpu to a cpuset will be omitted quietly.  It should\nreturn -EINVAL.\n\nExample: (real_nr_cpus \u003c\u003d 4 \u003c NR_CPUS or cpu#4 was just offline)\n\n# cat cpus\n0-1\n# /bin/echo 4 \u003e cpus\n# /bin/echo $?\n0\n# cat cpus\n\n#\n\nThe same occurs when add a nonexistent mem.\nThis patch will fix this bug.\nAnd when *buf \u003d\u003d \"\", the check is unneeded.\n\nSigned-off-by: Lai Jiangshan \u003claijs@cn.fujitsu.com\u003e\nAcked-by: Paul Jackson \u003cpj@sgi.com\u003e\nCc: David Rientjes \u003crientjes@google.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": "86ea9e34e3260138401663be21dd22d1892c4ce3",
      "old_mode": 33188,
      "old_path": "kernel/cpuset.c",
      "new_id": "039baa4cd90c1109a4c7e2bd382207242ab39f8f",
      "new_mode": 33188,
      "new_path": "kernel/cpuset.c"
    }
  ]
}
