OSDN Git Service
(root)
/
linux-kernel-docs
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df59ebc
)
Dump stack during sysctl registration failure
author
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 5 Nov 2007 22:50:52 +0000
(14:50 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:31 +0000
(15:12 -0800)
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>
kernel/sysctl_check.c
patch
|
blob
|
history
diff --git
a/kernel/sysctl_check.c
b/kernel/sysctl_check.c
index
ed6fe51
..
5a2f2b2
100644
(file)
--- 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;
}