projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
891a54a
)
UBIFS: always print stacktrace when switching to R/O mode
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Fri, 3 Jun 2011 10:16:08 +0000
(13:16 +0300)
committer
Artem Bityutskiy
<dedekind1@gmail.com>
Mon, 4 Jul 2011 07:54:33 +0000
(10:54 +0300)
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>
fs/ubifs/io.c
patch
|
blob
|
history
diff --git
a/fs/ubifs/io.c
b/fs/ubifs/io.c
index 3be645e012c9358170ad45a87af3b83b8fbd72ca..48e16804ca573cbc78dd8dcdea2ba9684581345c 100644
(file)
--- 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);
- d
bg_d
ump_stack();
+ dump_stack();
}
}