static cfs_waitq_t debug_ctlwq;
+#ifdef __arch_um__
+char debug_file_path[1024] = "/r/tmp/lustre-log";
+#else
char debug_file_path[1024] = "/tmp/lustre-log";
+#endif
int libcfs_panic_in_progress;
{
libcfs_catastrophe = 1;
libcfs_debug_msg(NULL, 0, D_EMERG, file, func, line,
- "LBUG - trying to dump log to /tmp/lustre-log\n");
+ "LBUG - trying to dump log to %s\n", debug_file_path);
libcfs_debug_dumplog();
libcfs_run_lbug_upcall(file, func, line);
asm("int $3");
{"mdc", "lustre/mdc"},
{"llite", "lustre/llite"},
{"lustre", "lustre/llite"},
- {"ldiskfs", "lustre/ldiskfs"},
+ {"ldiskfs", "ldiskfs/ldiskfs"},
{"smfs", "lustre/smfs"},
{"obdecho", "lustre/obdecho"},
{"ldlm", "lustre/ldlm"},