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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user