Hervé Poussineau 429bef6912 esp: cancel current request only if some request is in flight
This bug was introduced in 94d3f98a3f3caddd7875f9a11776daeb84962a7b:
scsi_cancel_io was checking if some request was pending before trying
to cancel it, while scsi_req_cancel always cancels the request.

This may lead to a crash of Qemu due to dereferencing a NULL pointer,
as exhibited by NetBSD 5.1 installer on MIPS Magnum emulation.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2011-07-12 21:29:39 +00:00
..
2011-07-05 11:23:43 +02:00
2010-06-13 19:00:50 +01:00
2011-04-22 14:41:40 -05:00
2011-04-22 14:41:40 -05:00
2010-07-06 10:36:28 -05:00
2011-07-12 20:00:26 +00:00
2011-07-12 20:00:28 +00:00
2011-07-12 20:00:29 +00:00
2009-09-11 10:19:48 -05:00
2011-07-12 20:00:30 +00:00
2011-06-26 18:25:35 +00:00
2011-07-12 20:00:33 +00:00