patch-1.3.78 linux/drivers/block/floppy.c

Next file: linux/drivers/block/ide.c
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -2597,7 +2597,7 @@
 	}
 
 	while(1){
-		if (!CURRENT) {
+		if (!CURRENT || CURRENT_PLUGGED) {
 			CLEAR_INTR;
 			unlock_fdc();
 			return;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this