@@ -1505,6 +1505,8 @@ extern const struct inode_operations ubifs_dir_inode_operations;
extern const struct inode_operations ubifs_symlink_inode_operations;
extern struct ubifs_compressor *ubifs_compressors[UBIFS_COMPR_TYPES_CNT];
+#include "debug.h"
+
/* auth.c */
static inline int ubifs_authenticated(const struct ubifs_info *c)
{
@@ -2063,7 +2065,6 @@ void ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len,
int ubifs_decompress(const struct ubifs_info *c, const void *buf, int len,
void *out, int *out_len, int compr_type);
-#include "debug.h"
#include "misc.h"
#include "key.h"
prepare to use ubifs_assert() in some inline functions from the auth.c block. move #include "debug.h" above the auth.c block. Signed-off-by: Torben Hohn <torben.hohn@linutronix.de> --- fs/ubifs/ubifs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)