diff options
-rw-r--r-- | fs/ubifs/debug.c | 6 | ||||
-rw-r--r-- | fs/ubifs/scan.c | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index bb3167257aab..1aaa9f519485 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c | |||
@@ -305,9 +305,6 @@ void ubifs_dump_node(const struct ubifs_info *c, const void *node) | |||
305 | const struct ubifs_ch *ch = node; | 305 | const struct ubifs_ch *ch = node; |
306 | char key_buf[DBG_KEY_BUF_LEN]; | 306 | char key_buf[DBG_KEY_BUF_LEN]; |
307 | 307 | ||
308 | if (dbg_is_tst_rcvry(c)) | ||
309 | return; | ||
310 | |||
311 | /* If the magic is incorrect, just hexdump the first bytes */ | 308 | /* If the magic is incorrect, just hexdump the first bytes */ |
312 | if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) { | 309 | if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) { |
313 | printk(KERN_ERR "Not a node, first %zu bytes:", UBIFS_CH_SZ); | 310 | printk(KERN_ERR "Not a node, first %zu bytes:", UBIFS_CH_SZ); |
@@ -882,9 +879,6 @@ void ubifs_dump_leb(const struct ubifs_info *c, int lnum) | |||
882 | struct ubifs_scan_node *snod; | 879 | struct ubifs_scan_node *snod; |
883 | void *buf; | 880 | void *buf; |
884 | 881 | ||
885 | if (dbg_is_tst_rcvry(c)) | ||
886 | return; | ||
887 | |||
888 | printk(KERN_ERR "(pid %d) start dumping LEB %d\n", | 882 | printk(KERN_ERR "(pid %d) start dumping LEB %d\n", |
889 | current->pid, lnum); | 883 | current->pid, lnum); |
890 | 884 | ||
diff --git a/fs/ubifs/scan.c b/fs/ubifs/scan.c index 7c40e6025fd6..07a49258ccfe 100644 --- a/fs/ubifs/scan.c +++ b/fs/ubifs/scan.c | |||
@@ -240,8 +240,6 @@ void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs, | |||
240 | int len; | 240 | int len; |
241 | 241 | ||
242 | ubifs_err("corruption at LEB %d:%d", lnum, offs); | 242 | ubifs_err("corruption at LEB %d:%d", lnum, offs); |
243 | if (dbg_is_tst_rcvry(c)) | ||
244 | return; | ||
245 | len = c->leb_size - offs; | 243 | len = c->leb_size - offs; |
246 | if (len > 8192) | 244 | if (len > 8192) |
247 | len = 8192; | 245 | len = 8192; |