summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2013-04-08 10:32:49 +0000
committerTom Rini <trini@ti.com>2013-04-11 15:52:54 -0400
commit147162dac6506d2ed96ba5869772f87fb1f49a0b (patch)
tree3e66f772f3fc039e31831cb951758487228740ef /fs
parent70c219cd7ceba104c2cc87940bb2f688b4b0a752 (diff)
downloadu-boot-imx-147162dac6506d2ed96ba5869772f87fb1f49a0b.zip
u-boot-imx-147162dac6506d2ed96ba5869772f87fb1f49a0b.tar.gz
u-boot-imx-147162dac6506d2ed96ba5869772f87fb1f49a0b.tar.bz2
ubi: ubifs: Turn off verbose prints
The prints are out of control. SILENCE! Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/ubifs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index 0af471a..633631e 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -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, \