| | Date | Wed, 22 Jun 2005 23:16:23 -0700 | | From | Gerrit Huizenga <> | | Subject | [patch 31/38] CKRM e18: Fix a bug in the use of classtype |
| |
Fix a bug using classtype
Signed-Off-By: Matt Helsley <matthltc@us.ibm.com> Signed-Off-By: Gerrit Huizenga <gh@us.ibm.com>
--------------------------------------------------------------------- Index: linux-2.6.12-ckrm1/kernel/ckrm/rbce/rbce_core.c =================================================================== --- linux-2.6.12-ckrm1.orig/kernel/ckrm/rbce/rbce_core.c 2005-06-20 15:04:53.000000000 -0700 +++ linux-2.6.12-ckrm1/kernel/ckrm/rbce/rbce_core.c 2005-06-20 15:37:50.000000000 -0700 @@ -60,7 +60,7 @@ rbce_class_deletecb(const char *classnam #endif notify_class_action(cls, 0); cls->classobj = NULL; - list_for_each_entry(pos, &rules_list[cls->classtype], link) { + list_for_each_entry(pos, &rules_list[classtype], link) { rule = (struct rbce_rule *)pos; if (rule->target_class) { if (!strcmp -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|