• Andrew Morton's avatar
    [PATCH] Fix floppy oops on forced unload · 76c25284
    Andrew Morton authored
    From: Angus Sawyer <angus.sawyer@dsl.pipex.com>
    
    Prevent OOPS on removing floppy driver with "rmmod -f floppy".
    
    floppy.c would attempt to unregister resources for nonexistent device.
    
    Patch stops the driver attempting to register and unregister the nonexistent
    device by removing the drive from the allowed drives mask (defaults to
    present).
    76c25284
floppy.c 116 KB