diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-01-28 01:39:23 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-02-25 20:52:49 -0500 |
commit | ed1a4beaec2fef4e7aaaf611ca6c05cbfdf66272 (patch) | |
tree | 5bd21da2f629dff2b96d0a7eb170656863ad9ac4 | |
parent | 06d9aad76dccd7c09aa9b359637a5270c7a3a8ee (diff) |
bcachefs: EYTZINGER_DEBUG fix
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>
-rw-r--r-- | fs/bcachefs/eytzinger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/eytzinger.h b/fs/bcachefs/eytzinger.h index 0541192d7bc0..5f2f96b1295e 100644 --- a/fs/bcachefs/eytzinger.h +++ b/fs/bcachefs/eytzinger.h @@ -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) |