]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
bcachefs: EYTZINGER_DEBUG fix
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 28 Jan 2025 00:39:23 +0000 (01:39 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:13 +0000 (21:02 -0400)
When EYTZINGER_DEBUG is defined, <linux/bug.h> needs to be included.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/eytzinger.h

index 0541192d7bc02b667e7a9f80222a34ca2f5da10b..5f2f96b1295ef0a5fd09fce909ad94c89be91805 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/log2.h>
 
 #ifdef EYTZINGER_DEBUG
+#include <linux/bug.h>
 #define EYTZINGER_BUG_ON(cond)         BUG_ON(cond)
 #else
 #define EYTZINGER_BUG_ON(cond)