summaryrefslogtreecommitdiff
path: root/fs/ubifs/debug.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-08-22 17:55:08 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-08-22 18:41:44 +0400
commitdb0f89690639ac1d5f89c0dd9713c2e83dd37281 (patch)
tree6eba92c96ddbc834dd2b8477fbf46ae4758d32e4 /fs/ubifs/debug.c
parentc45640d87b8272e85d19147dad914a6b82e51370 (diff)
downloadlinux-db0f89690639ac1d5f89c0dd9713c2e83dd37281.tar.xz
UBIFS: always print full error reports
Even when we are emulating power cuts, otherwise it is difficult to investigate failures during emulated power cuts testing. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r--fs/ubifs/debug.c6
1 files changed, 0 insertions, 6 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)
const struct ubifs_ch *ch = node;
char key_buf[DBG_KEY_BUF_LEN];
- if (dbg_is_tst_rcvry(c))
- return;
-
/* If the magic is incorrect, just hexdump the first bytes */
if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) {
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)
struct ubifs_scan_node *snod;
void *buf;
- if (dbg_is_tst_rcvry(c))
- return;
-
printk(KERN_ERR "(pid %d) start dumping LEB %d\n",
current->pid, lnum);