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/lprops.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/lprops.c')
-rw-r--r-- | fs/ubifs/lprops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ubifs/lprops.c b/fs/ubifs/lprops.c index 2e4bc27fb02a..0cf7a18e174c 100644 --- a/fs/ubifs/lprops.c +++ b/fs/ubifs/lprops.c | |||
@@ -1002,7 +1002,7 @@ out: | |||
1002 | if (err) { | 1002 | if (err) { |
1003 | dbg_msg("failed cat %d hpos %d err %d", cat, i, err); | 1003 | dbg_msg("failed cat %d hpos %d err %d", cat, i, err); |
1004 | dump_stack(); | 1004 | dump_stack(); |
1005 | dbg_dump_heap(c, heap, cat); | 1005 | ubifs_dump_heap(c, heap, cat); |
1006 | } | 1006 | } |
1007 | } | 1007 | } |
1008 | 1008 | ||
@@ -1109,8 +1109,8 @@ static int scan_check_cb(struct ubifs_info *c, | |||
1109 | if (IS_ERR(sleb)) { | 1109 | if (IS_ERR(sleb)) { |
1110 | ret = PTR_ERR(sleb); | 1110 | ret = PTR_ERR(sleb); |
1111 | if (ret == -EUCLEAN) { | 1111 | if (ret == -EUCLEAN) { |
1112 | dbg_dump_lprops(c); | 1112 | ubifs_dump_lprops(c); |
1113 | dbg_dump_budg(c, &c->bi); | 1113 | ubifs_dump_budg(c, &c->bi); |
1114 | } | 1114 | } |
1115 | goto out; | 1115 | goto out; |
1116 | } | 1116 | } |
@@ -1237,7 +1237,7 @@ out_print: | |||
1237 | ubifs_err("bad accounting of LEB %d: free %d, dirty %d flags %#x, " | 1237 | ubifs_err("bad accounting of LEB %d: free %d, dirty %d flags %#x, " |
1238 | "should be free %d, dirty %d", | 1238 | "should be free %d, dirty %d", |
1239 | lnum, lp->free, lp->dirty, lp->flags, free, dirty); | 1239 | lnum, lp->free, lp->dirty, lp->flags, free, dirty); |
1240 | dbg_dump_leb(c, lnum); | 1240 | ubifs_dump_leb(c, lnum); |
1241 | out_destroy: | 1241 | out_destroy: |
1242 | ubifs_scan_destroy(sleb); | 1242 | ubifs_scan_destroy(sleb); |
1243 | ret = -EINVAL; | 1243 | ret = -EINVAL; |