From: Alexey Dobriyan Date: Mon, 5 Nov 2007 22:50:52 +0000 (-0800) Subject: Dump stack during sysctl registration failure X-Git-Tag: v2.6.24-rc2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5db6a4dac1c7f459af2f895f6889346cedd467a1;p=linux-2.6-omap-h63xx.git Dump stack during sysctl registration failure Let's make immediately obvious from where sysctl comes from and messages itself more noticeable. Signed-off-by: Alexey Dobriyan Acked-by: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c index ed6fe51df77..5a2f2b2bf88 100644 --- a/kernel/sysctl_check.c +++ b/kernel/sysctl_check.c @@ -1432,6 +1432,7 @@ static void set_fail(const char **fail, struct ctl_table *table, const char *str printk(KERN_ERR "sysctl table check failed: "); sysctl_print_path(table); printk(" %s\n", *fail); + dump_stack(); } *fail = str; }