[PATCH] Fix IDE-CD command failure re-play
commit963436f3a5a06c2be3cbb5e8a33e355fbec2216b
authorJens Axboe <axboe@suse.de>
Sat, 12 Jul 2003 02:27:18 +0000 (11 19:27 -0700)
committerJens Axboe <axboe@suse.de>
Sat, 12 Jul 2003 02:27:18 +0000 (11 19:27 -0700)
tree6b9f81ebf813188e59803c1c3de6e31c2f06440a
parente9f1867d14040e846838731163eba69034a3ca51
[PATCH] Fix IDE-CD command failure re-play

Every failed SG_IO request is replayed second time without data
transfer.  Fix the problem by immediately purging the failed SG_IO
request from the request queue.

It fixes (among others)

http://marc.theaimsgroup.com/?t=105634805100001&r=1&w=2

where induced kernel crash occurs upon packet replay.
drivers/ide/ide-cd.c