)]}'
{
  "commit": "ef45cb624b9517f71ad6c61299478c2cc08e4d98",
  "tree": "dc0b41ff7c7e58bb79b02437578a51d2848a0eb6",
  "parents": [
    "7180c4c9e09888db0a188f729c96c6d7bd61fa83"
  ],
  "author": {
    "name": "Pete Zaitcev",
    "email": "zaitcev@redhat.com",
    "time": "Tue Apr 08 17:41:51 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Apr 08 18:25:52 2008 -0700"
  },
  "message": "ub: remove BUG() after __blk_end_request and fix the condition causing it\n\nWhen __blk_end_request returns nonzero, it means that the request was\nnot completely processed and some BIOs are still attached. Since we\nhave dequeued it by that time, it means leaking requests and hanging\nprocesses, which is why BUG() was in there. In ub this happens if\na packet request ends normally, but with residue (e.g. when scsi_id\nissues INQUIRY).\n\nThe fix is to make sure that arguments passed to __blk_end_request\nare correct: the full request length and not just transferred length.\nThe transferred length is indicated to applications by adjusting\nrq-\u003edata_len with old, unchanged code outside of this patch.\n\nSigned-off-by: Pete Zaitcev \u003czaitcev@redhat.com\u003e\nCc: Kiyoshi Ueda \u003ck-ueda@ct.jp.nec.com\u003e\nCc: Greg KH \u003cgreg@kroah.com\u003e\nCc: Boaz Harrosh \u003cbharrosh@panasas.com\u003e\nCc: Martin Schwidefsky \u003cschwidefsky@de.ibm.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c452e2d355eeb303bce96fbcddec96002f0449e2",
      "old_mode": 33188,
      "old_path": "drivers/block/ub.c",
      "new_id": "27bfe72aab59360951b133b0be25c88ba85ea6c4",
      "new_mode": 33188,
      "new_path": "drivers/block/ub.c"
    }
  ]
}
