ubifs: Reintroduce using CONFIG_UBIFS_SILENCE_MSG
Use of CONFIG_UBIFS_SILENCE_MSG was added in147162dac6
("ubi: ubifs: Turn off verbose prints") Then it was removed inff94bc40af
("mtd, ubi, ubifs: resync with Linux-3.14") Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Heiko Schocher <hs@denx.de> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
This commit is contained in:
parent
423effc04a
commit
e995128158
@ -618,9 +618,13 @@ static inline ino_t parent_ino(struct dentry *dentry)
|
||||
#define UBIFS_VERSION 1
|
||||
|
||||
/* Normal UBIFS messages */
|
||||
#ifdef CONFIG_UBIFS_SILENCE_MSG
|
||||
#define ubifs_msg(c, fmt, ...)
|
||||
#else
|
||||
#define ubifs_msg(c, fmt, ...) \
|
||||
pr_notice("UBIFS (ubi%d:%d): " fmt "\n", \
|
||||
(c)->vi.ubi_num, (c)->vi.vol_id, ##__VA_ARGS__)
|
||||
#endif
|
||||
/* UBIFS error messages */
|
||||
#ifndef __UBOOT__
|
||||
#define ubifs_err(c, fmt, ...) \
|
||||
|
Loading…
Reference in New Issue
Block a user