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

Branch b1_6

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

Skip dumping log if panic_on_lbug is set.
parent b87561cb
No related merge requests found
......@@ -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");
......
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