From: Milton Miller Date: Mon, 15 Oct 2007 15:00:19 +0000 (+0200) Subject: sched: domain sysctl fixes: add terminator comment X-Git-Tag: v2.6.24-rc1~1289^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6323469f9b72530eb90c96ba162cc70f2f4611de;p=linux-2.6 sched: domain sysctl fixes: add terminator comment we had an incorrect-terminator bug in sd_alloc_ctl_domain_table() before, so add a comment that documents it. Signed-off-by: Milton Miller Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index f40fe02772..9887ca005c 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -5303,6 +5303,7 @@ sd_alloc_ctl_domain_table(struct sched_domain *sd) sizeof(int), 0644, proc_dointvec_minmax); set_table_entry(&table[10], "flags", &sd->flags, sizeof(int), 0644, proc_dointvec_minmax); + /* &table[11] is terminator */ return table; }