)]}'
{
  "commit": "29504ff3be784372c4e2f7e31681a3e0292c4d9a",
  "tree": "449f6598e10a1930d113fd7bbe3aa6ca37341d10",
  "parents": [
    "1f08ad02379530e1c970d3d104343b9907b4d1b4"
  ],
  "author": {
    "name": "Daniel McNeil",
    "email": "daniel@osdl.org",
    "time": "Sat Apr 16 15:25:50 2005 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@ppc970.osdl.org",
    "time": "Sat Apr 16 15:25:50 2005 -0700"
  },
  "message": "[PATCH] Direct IO async short read fix\n\nThe direct I/O code is mapping the read request to the file system block.  If\nthe file size was not on a block boundary, the result would show the the read\nreading past EOF.  This was only happening for the AIO case.  The non-AIO case\ntruncates the result to match file size (in direct_io_worker).  This patch\ndoes the same thing for the AIO case, it truncates the result to match the\nfile size if the read reads past EOF.\n\nWhen I/O completes the result can be truncated to match the file size\nwithout using i_size_read(), thus the aio result now matches the number of\nbytes read to the end of file.\n\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5a674a0c71461d4b5c5bcf05f42e867f196e4984",
      "old_mode": 33188,
      "old_path": "fs/direct-io.c",
      "new_id": "1d55e7e6734247e8464899f308d94f8d0a398f4b",
      "new_mode": 33188,
      "new_path": "fs/direct-io.c"
    }
  ]
}
