summaryrefslogtreecommitdiff
path: root/fs/ubifs/io.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-06-03 13:16:08 +0300
committerArtem Bityutskiy <dedekind1@gmail.com>2011-07-04 10:54:33 +0300
commitd033c98b17ecf30d64d83d96938ce7bfb47f7520 (patch)
tree079b36f4b63bb7c13f177cec15f144dff794f08e /fs/ubifs/io.c
parent891a54a153646f9b16bffe5df6cb74cb3f1e9dc6 (diff)
UBIFS: always print stacktrace when switching to R/O mode
When switching to R/O mode due to an I/O error, always dump the stack, not only when debugging is enabled. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/io.c')
-rw-r--r--fs/ubifs/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c
index 3be645e012c9..48e16804ca57 100644
--- a/fs/ubifs/io.c
+++ b/fs/ubifs/io.c
@@ -86,7 +86,7 @@ void ubifs_ro_mode(struct ubifs_info *c, int err)
c->no_chk_data_crc = 0;
c->vfs_sb->s_flags |= MS_RDONLY;
ubifs_warn("switched to read-only mode, error %d", err);
- dbg_dump_stack();
+ dump_stack();
}
}