Skip to content

Commit

Permalink
UBIFS: rename dumping functions
Browse files Browse the repository at this point in the history
This commit re-names all functions which dump something from "dbg_dump_*()" to
"ubifs_dump_*()". This is done for consistency with UBI and because this way it
will be more logical once we remove the debugging sompilation option.

Signed-off-by: Artem Bityutskiy <[email protected]>
  • Loading branch information
dedekind committed May 16, 2012
1 parent 7c46d0a commit edf6be2
Show file tree
Hide file tree
Showing 19 changed files with 160 additions and 163 deletions.
4 changes: 2 additions & 2 deletions fs/ubifs/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,13 +715,13 @@ int dbg_check_old_index(struct ubifs_info *c, struct ubifs_zbranch *zroot)

out_dump:
dbg_err("dumping index node (iip=%d)", i->iip);
dbg_dump_node(c, idx);
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");
dbg_dump_node(c, &i->idx);
ubifs_dump_node(c, &i->idx);
}
out_free:
while (!list_empty(&list)) {
Expand Down
Loading

0 comments on commit edf6be2

Please sign in to comment.