UBIFS: get rid of dbg_err

This patch removes the 'dbg_err()' macro and we now use 'ubifs_err()' instead.
The idea of 'dbg_err()' was to compile out some error message to make the
binary a bit smaller - but I think it was a bad idea.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
This commit is contained in:
Artem Bityutskiy
2012-05-16 20:11:23 +03:00
parent f70b7e52aa
commit a6aae4dd0f
12 changed files with 114 additions and 119 deletions
+2 -2
View File
@@ -716,13 +716,13 @@ out:
return 0;
out_dump:
dbg_err("dumping index node (iip=%d)", i->iip);
ubifs_err("dumping index node (iip=%d)", i->iip);
ubifs_dump_node(c, idx);
list_del(&i->list);
kfree(i);
if (!list_empty(&list)) {
i = list_entry(list.prev, struct idx_node, list);
dbg_err("dumping parent index node");
ubifs_err("dumping parent index node");
ubifs_dump_node(c, &i->idx);
}
out_free: