patch-2.1.18 linux/drivers/scsi/sd.c

Next file: linux/drivers/scsi/sg.c
Previous file: linux/drivers/scsi/scsi_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.17/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -1534,7 +1534,7 @@
 #ifdef MODULE
 
 int init_module(void) {
-    sd_template.usage_count = &mod_use_count_;
+    sd_template.usage_count = &__this_module.usecount;
     return scsi_register_module(MODULE_SCSI_DEV, &sd_template);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov