summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/drivers/block/floppy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/dev/drivers/block/floppy.c b/linux/dev/drivers/block/floppy.c
index 83943ee..4c0977a 100644
--- a/linux/dev/drivers/block/floppy.c
+++ b/linux/dev/drivers/block/floppy.c
@@ -3492,6 +3492,8 @@ static void config_types(void)
printk("fd%d is unknown type %d",drive,
UDP->cmos);
}
+ else
+ allowed_drive_mask &= ~(1 << drive);
}
if (!first)
printk("\n");