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:
1f7c18a
)
Branch b1_6
author
adilger
<adilger>
Wed, 12 Sep 2007 05:24:29 +0000
(
05:24
+0000)
committer
adilger
<adilger>
Wed, 12 Sep 2007 05:24:29 +0000
(
05:24
+0000)
Move misplaced warning message.
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
ad487df
..
6b4244c
100644
(file)
--- a/
lnet/libcfs/linux/linux-debug.c
+++ b/
lnet/libcfs/linux/linux-debug.c
@@
-168,9
+168,10
@@
void libcfs_debug_dumpstack(struct task_struct *tsk)
CWARN("showing stack for process %d\n", tsk->pid);
show_task(tsk);
#else
CWARN("showing stack for process %d\n", tsk->pid);
show_task(tsk);
#else
- CWARN("can't show stack: kernel doesn't export show_task\n");
if ((tsk == NULL) || (tsk == current))
dump_stack();
if ((tsk == NULL) || (tsk == current))
dump_stack();
+ else
+ CWARN("can't show stack: kernel doesn't export show_task\n");
#endif
}
#endif
}