diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h
index 8934c12f108ee94305a82b89eced97b4769e77c6..f3e235fcd8df5f7afe2201d2a7df946cf5d9a60c 100644
--- a/fs/ubifs/debug.h
+++ b/fs/ubifs/debug.h
@@ -107,10 +107,7 @@ struct ubifs_debug_info {
 	}                                                                      \
 } while (0)
 
-#define dbg_dump_stack() do {                                                  \
-	if (!dbg_failure_mode)                                                 \
-		dump_stack();                                                  \
-} while (0)
+#define dbg_dump_stack() dump_stack()
 
 /* Generic debugging messages */
 #define dbg_msg(fmt, ...) do {                                                 \