Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d16bdd
)
Branch b1_8
author
johann
<johann>
Fri, 24 Jul 2009 20:05:25 +0000
(20:05 +0000)
committer
johann
<johann>
Fri, 24 Jul 2009 20:05:25 +0000
(20:05 +0000)
b=20261
i=johann
i=shadow
Use current when task == NULL.
lnet/libcfs/linux/linux-debug.c
patch
|
blob
|
history
diff --git
a/lnet/libcfs/linux/linux-debug.c
b/lnet/libcfs/linux/linux-debug.c
index
c96eb4a
..
90b0dd9
100644
(file)
--- a/
lnet/libcfs/linux/linux-debug.c
+++ b/
lnet/libcfs/linux/linux-debug.c
@@
-270,6
+270,8
@@
static DUMP_TRACE_CONST struct stacktrace_ops print_trace_ops = {
.stack = print_trace_stack,
.address = print_trace_address,
};
+ if (tsk == NULL)
+ tsk = current;
/* dump_stack() */
/* show_trace() */
printk("Pid: %d, comm: %.20s\n", tsk->pid, tsk->comm);