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:
b87561c
)
Branch b1_6
author
yangsheng
<yangsheng>
Thu, 16 Oct 2008 08:20:09 +0000
(08:20 +0000)
committer
yangsheng
<yangsheng>
Thu, 16 Oct 2008 08:20:09 +0000
(08:20 +0000)
b=17199
i=johann, bobijam
Patch provide by LLNL.
Skip dumping log if panic_on_lbug is set.
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
41b8a80
..
b5d4da3
100644
(file)
--- a/
lnet/libcfs/linux/linux-debug.c
+++ b/
lnet/libcfs/linux/linux-debug.c
@@
-193,7
+193,8
@@
void lbug_with_loc(const char *file, const char *func, const int line)
}
libcfs_debug_dumpstack(NULL);
- libcfs_debug_dumplog();
+ if (!libcfs_panic_on_lbug)
+ libcfs_debug_dumplog();
libcfs_run_lbug_upcall(file, func, line);
if (libcfs_panic_on_lbug)
panic("LBUG");