Commit ccbb9605 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

[PATCH] USB storage: abort bug fix

Also, have you sent in the one-line fix I found for the abort bug?
Andries found that it cured his BUG_ON problem.  In case you didn't save a
copy of it, I've included it below.
parent 80a6d944
......@@ -883,6 +883,9 @@ void usb_stor_abort_transport(struct us_data *us)
usb_stor_CBI_irq(us->irq_urb);
}
/* Wait for the aborted command to finish */
wait_for_completion(&us->notify);
/* Reacquire the lock */
scsi_lock(us->srb->host);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment