)]}'
{
  "commit": "7ad9c9d27048547e96e4e3a13b5780ec6f81bb9f",
  "tree": "0f70562d0f51c086b02953388578bd87040b5067",
  "parents": [
    "0f3d9a17469d71ba1bab79c07c8eecb9e26e60af"
  ],
  "author": {
    "name": "Takuya Yoshikawa",
    "email": "yoshikawa.takuya@oss.ntt.co.jp",
    "time": "Thu May 27 18:58:03 2010 +0900"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Thu May 27 13:54:59 2010 +0300"
  },
  "message": "vhost: fix to check the return value of copy_to/from_user() correctly\n\ncopy_to/from_user() returns the number of bytes that could not be copied.\n\nSo we need to check if it is not zero, and in that case, we should return\nthe error number -EFAULT rather than directly return the return value from\ncopy_to/from_user().\n\nSigned-off-by: Takuya Yoshikawa \u003cyoshikawa.takuya@oss.ntt.co.jp\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44f123abb0f49fb516c2775871f62ce68ca8573c",
      "old_mode": 33188,
      "old_path": "drivers/vhost/vhost.c",
      "new_id": "e36620272715e061f5e7f5ff502a8d527b34769c",
      "new_mode": 33188,
      "new_path": "drivers/vhost/vhost.c"
    }
  ]
}
