)]}'
{
  "commit": "2dc5d12b1f43134e9bc5037f69f4739cfdfab93e",
  "tree": "fd1070a750b7f88e01527b3d808e73f7f9fcb45a",
  "parents": [
    "4f3640f8a358f2183a8c966f299eeb55ca523e06"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Wed Mar 04 19:10:05 2009 -0500"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Wed Mar 04 19:10:05 2009 -0500"
  },
  "message": "tracing: do not return EFAULT if read copied anything\n\nImpact: fix trace read to conform to standards\n\nAndrew Morton, Theodore Tso and H. Peter Anvin brought to my attention\nthat a userspace read should not return -EFAULT if it succeeded in\ncopying anything. It should only return -EFAULT if it failed to copy\nat all.\n\nThis patch modifies the check of copy_from_user and updates the return\ncode appropriately.\n\nI also used H. Peter Anvin\u0027s short cut rule to just test ret \u003d\u003d count.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ab5cbcae43a1ce511c8455909558a135657d0348",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace.c",
      "new_id": "57155dc53530d2114f79b85e290bbbc685b661a4",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace.c"
    }
  ]
}
