dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Artem Bityutskiy 2011-06-03 13:16:08 +03:00 committed by Artem Bityutskiy
parent 891a54a153
commit d033c98b17
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}