Skip to content
Snippets Groups Projects
Commit 6a2efe95 authored by Yang Sheng's avatar Yang Sheng
Browse files

Branch HEAD

b=17199
i=johann, bobijam
Patch provide by LLNL.

Skip dumping log if panic_on_lbug is set.
parent ce18b2ca
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment