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:
ce18b2c
)
Branch HEAD
author
yangsheng
<yangsheng>
Thu, 16 Oct 2008 08:27:54 +0000
(08:27 +0000)
committer
yangsheng
<yangsheng>
Thu, 16 Oct 2008 08:27:54 +0000
(08:27 +0000)
b=17199
i=johann, bobijam
Patch provide by LLNL.
Skip dumping log if panic_on_lbug is set.
libcfs/libcfs/linux/linux-debug.c
patch
|
blob
|
history
diff --git
a/libcfs/libcfs/linux/linux-debug.c
b/libcfs/libcfs/linux/linux-debug.c
index
2ecdba5
..
b8a4982
100644
(file)
--- a/
libcfs/libcfs/linux/linux-debug.c
+++ b/
libcfs/libcfs/linux/linux-debug.c
@@
-192,7
+192,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");