[PATCH v2 1/4] ubifs: move #include "debug.h" above auth.c
Torben Hohn
torben.hohn at linutronix.de
Fri Jun 26 07:29:04 EDT 2020
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 at linutronix.de>
---
fs/ubifs/ubifs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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"
--
2.20.1
More information about the linux-mtd
mailing list