mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Ensure -NDEBUG does not get added to spl_config.h and is only set in the build options. This allows other kernel modules to use spl_config to leverage the reset of the config checks without getting confused with the debug options
This commit is contained in:
@@ -1118,10 +1118,8 @@ void spl_debug_bug(char *file, const char *func, const int line, int flags)
|
||||
if (spl_debug_panic_on_bug)
|
||||
spl_panic_in_progress = 1;
|
||||
|
||||
#ifdef DEBUG
|
||||
spl_debug_dumpstack(NULL);
|
||||
spl_debug_dumplog(flags);
|
||||
#endif
|
||||
|
||||
if (spl_debug_panic_on_bug)
|
||||
panic("SBUG");
|
||||
|
||||
Reference in New Issue
Block a user