)]}'
{
  "commit": "897f15fb587fd2772b9e7ff6ec0265057f3c3975",
  "tree": "d975ce5f131b8f42915cf264122cd265661651e0",
  "parents": [
    "998765e5588b197737d457e16f72832d8036190f"
  ],
  "author": {
    "name": "Zach Brown",
    "email": "zach.brown@oracle.com",
    "time": "Fri Sep 30 11:58:55 2005 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Fri Sep 30 12:41:17 2005 -0700"
  },
  "message": "[PATCH] aio: remove unlocked task_list test and resulting race\n\nOnly one of the run or kick path is supposed to put an iocb on the run\nlist.  If both of them do it than one of them can end up referencing a\nfreed iocb.  The kick path could delete the task_list item from the wait\nqueue before getting the ctx_lock and putting the iocb on the run list.\nThe run path was testing the task_list item outside the lock so that it\ncould catch ki_retry methods that return -EIOCBRETRY *without* putting the\niocb on a wait queue and promising to call kick_iocb.  This unlocked check\ncould then race with the kick path to cause both to try and put the iocb on\nthe run list.\n\nThe patch stops the run path from testing task_list by requring that any\nki_retry that returns -EIOCBRETRY *must* guarantee that kick_iocb() will be\ncalled in the future.  aio_p{read,write}, the only in-tree -EIOCBRETRY\nusers, are updated.\n\nSigned-off-by: Zach Brown \u003czach.brown@oracle.com\u003e\nSigned-off-by: Benjamin LaHaise \u003cbcrl@linux.intel.com\u003e\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": "b8f296999c041463668390f550405ba9cf4160e1",
      "old_mode": 33188,
      "old_path": "fs/aio.c",
      "new_id": "9edc0e4a12192e7addd621f2e436fc4b48a8c17b",
      "new_mode": 33188,
      "new_path": "fs/aio.c"
    },
    {
      "type": "modify",
      "old_id": "a4d5af907f900da1183e40fa0d9c452c1dbf85d6",
      "old_mode": 33188,
      "old_path": "include/linux/aio.h",
      "new_id": "60def658b2462f3282c9802a6241b67c3b441b65",
      "new_mode": 33188,
      "new_path": "include/linux/aio.h"
    }
  ]
}
