)]}'
{
  "commit": "26186ba77b493204ae0fadc3c88a67b14f22168f",
  "tree": "6fc0d50a4d286df33b18f21e0994b09637d0c6c8",
  "parents": [
    "77f46328fb83b64befd889ebce6d7fb959932509"
  ],
  "author": {
    "name": "Matthew Dharm",
    "email": "mdharm-usb@one-eyed-alien.net",
    "time": "Thu Jul 28 14:45:50 2005 -0700"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Thu Sep 08 16:22:55 2005 -0700"
  },
  "message": "[PATCH] USB Storage: close a race condition in disconnect near queuecommand\n\nThis patch started life as as534, and has been re-diffed against the latest\ntree.\n\nusb-storage has a small loophole, a window between the time queuecommand\naccepts a new command and the time the control thread starts to execute\nit.  If disconnect is called during that window, the driver won\u0027t cancel\nthe pending command -- we\u0027ve been relying on the SCSI core to cancel it\nfor us during host removal.  But it\u0027s better for usb-storage to cancel\nit;  this avoids races and reduces reliance on the SCSI core.\nFortunately cancelling these commands is easy to do; the key is to do it\n_before_ calling scsi_remove_host.\n\nSigned-off-by: Alan Stern \u003cstern@rowland.harvard.edu\u003e\nSigned-off-by: Matthew Dharm \u003cmdharm-usb@one-eyed-alien.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "255771151399ada252af1d787a5b2121bbb6d8f0",
      "old_mode": 33188,
      "old_path": "drivers/usb/storage/usb.c",
      "new_id": "97b9ebb8a0822aec492d9a53bce9e6ae666932b2",
      "new_mode": 33188,
      "new_path": "drivers/usb/storage/usb.c"
    }
  ]
}
