diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 12:15:56 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 12:15:56 -0400 |
commit | edf6be245fd34a4438646375cecb11f5feb92646 (patch) | |
tree | ca1ddfc1900d5875d5434c6c7f39ca4966ef3baa /fs/ubifs/tnc_commit.c | |
parent | 7c46d0ae29ba880963db283706950de7aa86c0a0 (diff) |
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>
Diffstat (limited to 'fs/ubifs/tnc_commit.c')
-rw-r--r-- | fs/ubifs/tnc_commit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ubifs/tnc_commit.c b/fs/ubifs/tnc_commit.c index 4c15f07a8bb2..e8cf891185ec 100644 --- a/fs/ubifs/tnc_commit.c +++ b/fs/ubifs/tnc_commit.c | |||
@@ -54,9 +54,9 @@ static int make_idx_node(struct ubifs_info *c, struct ubifs_idx_node *idx, | |||
54 | br->len = cpu_to_le32(zbr->len); | 54 | br->len = cpu_to_le32(zbr->len); |
55 | if (!zbr->lnum || !zbr->len) { | 55 | if (!zbr->lnum || !zbr->len) { |
56 | ubifs_err("bad ref in znode"); | 56 | ubifs_err("bad ref in znode"); |
57 | dbg_dump_znode(c, znode); | 57 | ubifs_dump_znode(c, znode); |
58 | if (zbr->znode) | 58 | if (zbr->znode) |
59 | dbg_dump_znode(c, zbr->znode); | 59 | ubifs_dump_znode(c, zbr->znode); |
60 | } | 60 | } |
61 | } | 61 | } |
62 | ubifs_prepare_node(c, idx, len, 0); | 62 | ubifs_prepare_node(c, idx, len, 0); |
@@ -388,8 +388,8 @@ static int layout_in_gaps(struct ubifs_info *c, int cnt) | |||
388 | * option which forces in-the-gaps is enabled. | 388 | * option which forces in-the-gaps is enabled. |
389 | */ | 389 | */ |
390 | ubifs_warn("out of space"); | 390 | ubifs_warn("out of space"); |
391 | dbg_dump_budg(c, &c->bi); | 391 | ubifs_dump_budg(c, &c->bi); |
392 | dbg_dump_lprops(c); | 392 | ubifs_dump_lprops(c); |
393 | } | 393 | } |
394 | /* Try to commit anyway */ | 394 | /* Try to commit anyway */ |
395 | err = 0; | 395 | err = 0; |
@@ -864,9 +864,9 @@ static int write_index(struct ubifs_info *c) | |||
864 | br->len = cpu_to_le32(zbr->len); | 864 | br->len = cpu_to_le32(zbr->len); |
865 | if (!zbr->lnum || !zbr->len) { | 865 | if (!zbr->lnum || !zbr->len) { |
866 | ubifs_err("bad ref in znode"); | 866 | ubifs_err("bad ref in znode"); |
867 | dbg_dump_znode(c, znode); | 867 | ubifs_dump_znode(c, znode); |
868 | if (zbr->znode) | 868 | if (zbr->znode) |
869 | dbg_dump_znode(c, zbr->znode); | 869 | ubifs_dump_znode(c, zbr->znode); |
870 | } | 870 | } |
871 | } | 871 | } |
872 | len = ubifs_idx_node_sz(c, znode->child_cnt); | 872 | len = ubifs_idx_node_sz(c, znode->child_cnt); |