)]}'
{
  "commit": "94eac5e62364df4e605e451218ee6024a7ba664f",
  "tree": "5e4b7d85361ad20821ba3371acc1536262846f22",
  "parents": [
    "6f904ff0e39ea88f81eb77e8dfb4e1238492f0a8"
  ],
  "author": {
    "name": "Artem Bityutskiy",
    "email": "Artem.Bityutskiy@nokia.com",
    "time": "Sun Jul 25 14:29:12 2010 +0300"
  },
  "committer": {
    "name": "Jens Axboe",
    "email": "jaxboe@fusionio.com",
    "time": "Sat Aug 07 18:53:19 2010 +0200"
  },
  "message": "writeback: fix possible race when creating bdi threads\n\nThis patch fixes a very unlikely race condition on the bdi forker thread error\npath: when bdi thread creation fails, \u0027bdi-\u003ewb.task\u0027 may contain the error code\nfor a short period of time. If at the same time someone submits a work to this\nbdi, we can end up with an oops \u0027bdi_queue_work()\u0027 while executing\n\u0027wake_up_process(wb-\u003etask)\u0027.\n\nThis patch fixes the issue by introducing a temporary variable \u0027task\u0027 and\nstoring the possible error code there, so that \u0027wb-\u003etask\u0027 would never take\nerroneous values.\n\nNote, this race is very unlikely and I never hit it, so it is theoretical, but\nnevertheless worth fixing.\n\nThis patch also merges 2 comments which were previously separate.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\nReviewed-by: Christoph Hellwig \u003chch@lst.de\u003e\nSigned-off-by: Jens Axboe \u003cjaxboe@fusionio.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4e9ed2a8521fe15b99cfa7fd3387cec33be8791b",
      "old_mode": 33188,
      "old_path": "mm/backing-dev.c",
      "new_id": "327e36d1d623ab14aafe2f6716b296c88c4a9823",
      "new_mode": 33188,
      "new_path": "mm/backing-dev.c"
    }
  ]
}
