diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-22 09:55:08 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-22 10:41:44 -0400 |
commit | db0f89690639ac1d5f89c0dd9713c2e83dd37281 (patch) | |
tree | 6eba92c96ddbc834dd2b8477fbf46ae4758d32e4 /fs/ubifs/scan.c | |
parent | c45640d87b8272e85d19147dad914a6b82e51370 (diff) |
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/scan.c')
-rw-r--r-- | fs/ubifs/scan.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |