UBIFS: print less

UBIFS currently prints a lot of information when it mounts a volume, which
bothers some people. Make it less chatty - print only important information
by default.

Get rid of 'dbg_msg()' macro completely.

Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
Artem Bityutskiy
2012-08-27 16:56:58 +03:00
parent 6b38d03f48
commit 3668b70fcf
8 changed files with 59 additions and 69 deletions

View File

@@ -293,8 +293,8 @@ int ubifs_bg_thread(void *info)
int err;
struct ubifs_info *c = info;
dbg_msg("background thread \"%s\" started, PID %d",
c->bgt_name, current->pid);
ubifs_msg("background thread \"%s\" started, PID %d",
c->bgt_name, current->pid);
set_freezable();
while (1) {
@@ -328,7 +328,7 @@ int ubifs_bg_thread(void *info)
cond_resched();
}
dbg_msg("background thread \"%s\" stops", c->bgt_name);
ubifs_msg("background thread \"%s\" stops", c->bgt_name);
return 0;
}