patch-2.2.0-pre1 linux/drivers/block/ide-floppy.c
Next file: linux/drivers/block/ide-probe.c
Previous file: linux/drivers/block/ide-cd.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Dec 23 07:54:22 1998
- Orig file:
v2.1.132/linux/drivers/block/ide-floppy.c
- Orig date:
Fri Oct 23 22:01:20 1998
diff -u --recursive --new-file v2.1.132/linux/drivers/block/ide-floppy.c linux/drivers/block/ide-floppy.c
@@ -633,6 +633,9 @@
}
if (error)
floppy->failed_pc = NULL;
+ /* Why does this happen? */
+ if (!rq)
+ return;
if (!IDEFLOPPY_RQ_CMD (rq->cmd)) {
ide_end_request (uptodate, hwgroup);
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov