Re: [PATCH] prevent module unloading for legacy IDE chipset drivers
From: Bartlomiej Zolnierkiewicz
Date: Wed Apr 21 2004 - 19:53:11 EST
On Thursday 22 of April 2004 02:41, Erik Andersen wrote:
> On Wed Apr 21, 2004 at 10:19:24PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > It is unsafe thing to do (no locking, no reference counting etc).
> > Just remove module_exit() as it was done for IDE PCI drivers.
>
> Out of curiosity, what would be needed to make it safe to unload
> all ide modules from a system with a scsi rootfs?
It doesn't matter - you still may end up unloading modules which are in use.
Plus unregistering IDE interfaces leave mess in _static_ ide_hwifs[] table.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/