[PATCH] Fix floppy oops on forced unload
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).
Showing
Please register or sign in to comment