Greetings all, This patch is made against lio-core-2.6.git/master and tested on v2.6.28. The lio-core-2.6.git tree can be found at: http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=summary Thanks, --nab >From 53b6924090a2182433e36cbd106d2f0249e3b8cc Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Date: Mon, 12 Jan 2009 14:56:56 -0800 Subject: [PATCH] [Target_Core_Mod/MIBS]: Add missing SCSI MIBs initialization call during module_init() During the v3.0 splitup of SCSI MIBs and iSCSI MIBs into target_core_mibs.c and iscsi_target_mibs.c respectively, a new initialization function for SCSI MIBs was added called init_scsi_index_table(). However this function was not added to target_core_mod's module_init() function: target_core_init_configfs(). This patch adds the missing init_scsi_index_table() before init_se_global() (which uses SCSI MIB logic) in target_core_init_configfs(). Signed-off-by: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx> --- drivers/lio-core/target_core_configfs.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/lio-core/target_core_configfs.c b/drivers/lio-core/target_core_configfs.c index 0fceeab..46a84a7 100644 --- a/drivers/lio-core/target_core_configfs.c +++ b/drivers/lio-core/target_core_configfs.c @@ -1023,7 +1023,9 @@ extern int target_core_init_configfs (void) */ INIT_LIST_HEAD(&g_tf_list); mutex_init(&g_tf_lock); - +#ifdef SNMP_SUPPORT + init_scsi_index_table(); +#endif if ((ret = configfs_register_subsystem(subsys)) < 0) { printk(KERN_ERR "Error %d while registering subsystem %s\n", ret, subsys->su_group.cg_item.ci_namebuf); -- 1.5.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html