aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2007-11-05 14:50:52 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-05 15:12:31 -0800
commit5db6a4dac1c7f459af2f895f6889346cedd467a1 (patch)
treed29fab4f6e5f4ecd7f640e42458d3951f74b6ffa /kernel
parentdf59ebc49ef101302e9328ff76ff28c18df39cfb (diff)
downloadkernel_samsung_tuna-5db6a4dac1c7f459af2f895f6889346cedd467a1.zip
kernel_samsung_tuna-5db6a4dac1c7f459af2f895f6889346cedd467a1.tar.gz
kernel_samsung_tuna-5db6a4dac1c7f459af2f895f6889346cedd467a1.tar.bz2
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 <adobriyan@gmail.com> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl_check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sysctl_check.c b/kernel/sysctl_check.c
index ed6fe51..5a2f2b2 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;
}