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/recovery.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/recovery.c')
-rw-r--r-- | fs/ubifs/recovery.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c index 2a935b317232..bbeab617960b 100644 --- a/fs/ubifs/recovery.c +++ b/fs/ubifs/recovery.c | |||
@@ -363,11 +363,11 @@ out_free: | |||
363 | ubifs_err("failed to recover master node"); | 363 | ubifs_err("failed to recover master node"); |
364 | if (mst1) { | 364 | if (mst1) { |
365 | dbg_err("dumping first master node"); | 365 | dbg_err("dumping first master node"); |
366 | dbg_dump_node(c, mst1); | 366 | ubifs_dump_node(c, mst1); |
367 | } | 367 | } |
368 | if (mst2) { | 368 | if (mst2) { |
369 | dbg_err("dumping second master node"); | 369 | dbg_err("dumping second master node"); |
370 | dbg_dump_node(c, mst2); | 370 | ubifs_dump_node(c, mst2); |
371 | } | 371 | } |
372 | vfree(buf2); | 372 | vfree(buf2); |
373 | vfree(buf1); | 373 | vfree(buf1); |
@@ -1139,8 +1139,8 @@ static int grab_empty_leb(struct ubifs_info *c) | |||
1139 | lnum = ubifs_find_free_leb_for_idx(c); | 1139 | lnum = ubifs_find_free_leb_for_idx(c); |
1140 | if (lnum < 0) { | 1140 | if (lnum < 0) { |
1141 | dbg_err("could not find an empty LEB"); | 1141 | dbg_err("could not find an empty LEB"); |
1142 | dbg_dump_lprops(c); | 1142 | ubifs_dump_lprops(c); |
1143 | dbg_dump_budg(c, &c->bi); | 1143 | ubifs_dump_budg(c, &c->bi); |
1144 | return lnum; | 1144 | return lnum; |
1145 | } | 1145 | } |
1146 | 1146 | ||