: Another Megaraid patch for 2.6 (please apply)
Subsystems (2)
PATCH 1/1 : Another Megaraid patch for 2.6 (please apply)
Hi all,
This bug was discussed on linux-scsi a few weeks back, but it appears to have slipped through the cracks. This fix was originally proposed by Christoph Hellwig, but I am reposting it, since I have the hardware :-)
Anyway, the problem that this fixes is that megaraid doesn't set the moduler owner for the host_template, this means that the module can be removed, even when it is in use.
Cheers,
Paul
drivers/scsi/megaraid.c +1 -0
@@ -4614,6 +4614,7 @@ }static struct scsi_host_template megaraid_template = { + .module =THIS_MODULE , .name ="MegaRAID" , .proc_name ="megaraid" , .info = megaraid_info,