]> git.sur5r.net Git - u-boot/blobdiff - fs/ubifs/ubifs.h
ubi: ubifs: Turn off verbose prints
[u-boot] / fs / ubifs / ubifs.h
index 0af471afb911485508f990d1d1112dbdf12fac88..633631e4d4e44b7d9e39bb8cbea51bd07385f7e9 100644 (file)
@@ -463,8 +463,12 @@ static inline ino_t parent_ino(struct dentry *dentry)
 #define UBIFS_VERSION 1
 
 /* Normal UBIFS messages */
+#ifdef CONFIG_UBIFS_SILENCE_MSG
+#define ubifs_msg(fmt, ...)
+#else
 #define ubifs_msg(fmt, ...) \
                printk(KERN_NOTICE "UBIFS: " fmt "\n", ##__VA_ARGS__)
+#endif
 /* UBIFS error messages */
 #define ubifs_err(fmt, ...)                                                  \
        printk(KERN_ERR "UBIFS error (pid %d): %s: " fmt "\n", 0, \