* [PATCH][BUGFIX] : Another Megaraid patch for 2.6 (please apply)
@ 2004-03-15 23:08 Paul Wagland
0 siblings, 0 replies; only message in thread
From: Paul Wagland @ 2004-03-15 23:08 UTC (permalink / raw)
To: Linux SCSI mailing list, Linux kernel mailing list
Cc: akpm, James.Bottomley, torvalds, atulm
[-- Attachment #1.1: Type: text/plain, Size: 423 bytes --]
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
[-- Attachment #1.2: 1-megaraid.mod_owner.patch --]
[-- Type: text/x-patch, Size: 496 bytes --]
diff --recursive --ignore-all-space --unified linux-2.6.2.o/drivers/scsi/megaraid.c linux-2.6.2.megaraid/drivers/scsi/megaraid.c
--- linux-2.6.2.o/drivers/scsi/megaraid.c 2004-02-09 22:56:09.000000000 +0100
+++ linux-2.6.2.megaraid/drivers/scsi/megaraid.c 2004-02-20 01:32:21.000000000 +0100
@@ -4614,6 +4614,7 @@
}
static struct scsi_host_template megaraid_template = {
+ .module = THIS_MODULE,
.name = "MegaRAID",
.proc_name = "megaraid",
.info = megaraid_info,
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-15 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-15 23:08 [PATCH][BUGFIX] : Another Megaraid patch for 2.6 (please apply) Paul Wagland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®