diff mbox series

[v2,1/4] ubifs: move #include "debug.h" above auth.c

Message ID 20200626112907.13201-2-torben.hohn@linutronix.de
State Changes Requested
Headers show
Series ubifs: support authentication without hmac | expand

Commit Message

Torben Hohn June 26, 2020, 11:29 a.m. UTC
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(-)
diff mbox series

Patch

diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index bff682309fbe..95ed45022e51 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -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"