)]}'
{
  "commit": "3e2796a90cf349527e50b3bc4d0b2f4019b1ce7a",
  "tree": "80bddc0f5d36a589db5a77b9b60e4c94c75994ed",
  "parents": [
    "2511cd0b3b9e9b1c3e9360cc565c3745ac3f3f3f"
  ],
  "author": {
    "name": "Eric Van Hensbergen",
    "email": "ericvh@gmail.com",
    "time": "Mon Nov 02 08:39:28 2009 -0600"
  },
  "committer": {
    "name": "Eric Van Hensbergen",
    "email": "ericvh@gmail.com",
    "time": "Mon Nov 02 08:43:45 2009 -0600"
  },
  "message": "9p: fix readdir corner cases\n\nThe patch below also addresses a couple of other corner cases in readdir\nseen with a large (e.g. 64k) msize.  I\u0027m not sure what people think of\nmy co-opting of fid-\u003eaux here.  I\u0027d be happy to rework if there\u0027s a better\nway.\n\nWhen the size of the user supplied buffer passed to readdir is smaller\nthan the data returned in one go by the 9P read request, v9fs_dir_readdir()\ncurrently discards extra data so that, on the next call, a 9P read\nrequest will be issued with offset \u003c previous offset + bytes returned,\nwhich voilates the constraint described in paragraph 3 of read(5) description.\nThis patch preseves the leftover data in fid-\u003eaux for use in the next call.\n\nSigned-off-by: Jim Garlick \u003cgarlick@llnl.gov\u003e\nSigned-off-by: Eric Van Hensbergen \u003cericvh@gmail.com\u003e\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cae53d405f215c1bf9be13b7cd3fa9ba2937828d",
      "old_mode": 33188,
      "old_path": "fs/9p/vfs_dir.c",
      "new_id": "15cce53bf61e7832e92fd8fbc72f08f220a8084a",
      "new_mode": 33188,
      "new_path": "fs/9p/vfs_dir.c"
    },
    {
      "type": "modify",
      "old_id": "e26812274b757f0355293a15f33a776dd78348d0",
      "old_mode": 33188,
      "old_path": "include/net/9p/client.h",
      "new_id": "fb00b329f0d3dd91d3998871f4dc080d9b4f2065",
      "new_mode": 33188,
      "new_path": "include/net/9p/client.h"
    },
    {
      "type": "modify",
      "old_id": "5bf5f227dbe0d83eaf28cc400a665594c6452a22",
      "old_mode": 33188,
      "old_path": "net/9p/client.c",
      "new_id": "8af95b2dddd62eb4baa6205c776681bf09b91a64",
      "new_mode": 33188,
      "new_path": "net/9p/client.c"
    }
  ]
}
