UBIFS: rename dumping functions
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 <artem.bityutskiy@linux.intel.com>
diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c
index 2e0bc4e..12c25d9 100644
--- a/fs/ubifs/tnc.c
+++ b/fs/ubifs/tnc.c
@@ -340,7 +340,7 @@
err = ubifs_validate_entry(c, dent);
if (err) {
dump_stack();
- dbg_dump_node(c, dent);
+ ubifs_dump_node(c, dent);
return err;
}
@@ -373,7 +373,7 @@
err = ubifs_validate_entry(c, node);
if (err) {
dump_stack();
- dbg_dump_node(c, node);
+ ubifs_dump_node(c, node);
return err;
}
@@ -1733,7 +1733,7 @@
err = -EINVAL;
out:
ubifs_err("bad node at LEB %d:%d", zbr->lnum, zbr->offs);
- dbg_dump_node(c, buf);
+ ubifs_dump_node(c, buf);
dump_stack();
return err;
}
@@ -2403,7 +2403,7 @@
err = ubifs_add_dirt(c, zbr->lnum, zbr->len);
if (err) {
- dbg_dump_znode(c, znode);
+ ubifs_dump_znode(c, znode);
return err;
}
@@ -2649,7 +2649,7 @@
err = ubifs_add_dirt(c, znode->zbranch[i].lnum,
znode->zbranch[i].len);
if (err) {
- dbg_dump_znode(c, znode);
+ ubifs_dump_znode(c, znode);
goto out_unlock;
}
dbg_tnck(key, "removing key ");
@@ -3335,7 +3335,7 @@
(unsigned long)inode->i_ino, size,
((loff_t)block) << UBIFS_BLOCK_SHIFT);
mutex_unlock(&c->tnc_mutex);
- dbg_dump_inode(c, inode);
+ ubifs_dump_inode(c, inode);
dump_stack();
return -EINVAL;