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/master.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/master.c')
-rw-r--r-- | fs/ubifs/master.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/master.c b/fs/ubifs/master.c index 278c2382e8c2..9fc282984f94 100644 --- a/fs/ubifs/master.c +++ b/fs/ubifs/master.c | |||
@@ -241,7 +241,7 @@ static int validate_master(const struct ubifs_info *c) | |||
241 | 241 | ||
242 | out: | 242 | out: |
243 | ubifs_err("bad master node at offset %d error %d", c->mst_offs, err); | 243 | ubifs_err("bad master node at offset %d error %d", c->mst_offs, err); |
244 | dbg_dump_node(c, c->mst_node); | 244 | ubifs_dump_node(c, c->mst_node); |
245 | return -EINVAL; | 245 | return -EINVAL; |
246 | } | 246 | } |
247 | 247 | ||
@@ -317,7 +317,7 @@ int ubifs_read_master(struct ubifs_info *c) | |||
317 | if (c->leb_cnt < old_leb_cnt || | 317 | if (c->leb_cnt < old_leb_cnt || |
318 | c->leb_cnt < UBIFS_MIN_LEB_CNT) { | 318 | c->leb_cnt < UBIFS_MIN_LEB_CNT) { |
319 | ubifs_err("bad leb_cnt on master node"); | 319 | ubifs_err("bad leb_cnt on master node"); |
320 | dbg_dump_node(c, c->mst_node); | 320 | ubifs_dump_node(c, c->mst_node); |
321 | return -EINVAL; | 321 | return -EINVAL; |
322 | } | 322 | } |
323 | 323 | ||